to_string is not a member of std, says g++ (mingw)

前端 未结 13 1413
不思量自难忘°
不思量自难忘° 2020-11-22 05:41

I am making a small vocabulary remembering program where words would would be flashed at me randomly for meanings. I want to use standard C++ library as Bjarne Stroustroup t

13条回答
  •  佛祖请我去吃肉
    2020-11-22 05:49

    For me, ensuring that I had:

    #include   
    #include  
    using namespace std;
    

    in my file made something like to_string(12345) work.

提交回复
热议问题