No Member named stoi in namespace std.
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: No Member named stoi in namespace std.

  1. #1
    Join Date
    Oct 2013
    Posts
    4

    No Member named stoi in namespace std.

    I am trying to test out stoi() function found in the link below.

    http://en.cppreference.com/w/cpp/str...ic_string/stol

    but I got the error "No Member named stoi in namespace std." and I have no idea what is going on,
    Please advise thanks.
    Last edited by roidbeginner; October 21st, 2013 at 01:11 AM.

  2. #2
    Join Date
    Jan 2006
    Location
    Singapore
    Posts
    6,196

    Re: No Member named stoi in namespace std.

    You may need to compile with respect to C++0x (now known as C++11). Or, it could simply be that your standard library implementation is a little old and hence does not include support for new features introduced in C++11.
    C + C++ Compiler: MinGW port of GCC
    Build + Version Control System: SCons + Bazaar

    Look up a C/C++ Reference and learn How To Ask Questions The Smart Way
    Kindly rate my posts if you found them useful

  3. #3
    Join Date
    Oct 2013
    Posts
    4

    Re: No Member named stoi in namespace std.

    Hi.thanks alot for explaination

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center