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.
Printable View
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.
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.
Hi.thanks alot for explaination