I know it sounds stupid, but I'm using MinGW32 on Windows7, and "to_string
was not declared in this scope." It's an actual GCC Bug, and I've followed these instructions and they did not work. So, how can I convert an int to a string in C++11 without using to_string
or stoi
? (Also, I have the -std=c++11
flag enabled).