to_string() invalid for g++ 4.7.2
Hi, according to
, I already put -std=c++11 when compiling mingw g++ 4.7.2.
but compiler still warns me
test2.cpp:14:31: error: 'to_string' is not a member of 'std'
Please let me know what should I do?
Last edited on
Did you include <string>?
Topic archived. No new replies allowed.