to_string不是std的成员,例如g+(Mingw)
long
std::string
to_string()
PS C:\Users\Anurag\SkyDrive\College\Programs> g++ -std=c++0x ttd.cpp ttd.cpp: In function 'int main()':ttd.cpp:11:2: error: 'to_string' is not a member of 'std'
#include <string>int main(){ std::to_string(0); return 0;}
-std=c++0x
Smart猫小萌
相关分类