You need a more up-to-date compiler for this to work. std::string::pop_back() was added in C++11.
You probably just have to enable C++11 features. I guess you can do it somewhere in the menus by checking some kind of checkbox (they might call it C++0x) or by adding the compiler flag -std=c++11.
Also don't worked. Appear the same error :(
We solving this thread we reply other similar query (delete last charactere in file). :D
Last edited on
Not that the 0 in -std=c++0x is a zero and not an O.