Is there an easy way or function to convert a long into a string like in C with itoa i mean even though that doesnt do it compeltely is there a simple way?
Is there an easy way or function to convert a long into a string like in C with itoa i mean even though that doesnt do it compeltely is there a simple way?
You could use std::stringstream object and << >> operators.
Also, about itoa():Originally Posted by http://www.cplusplus.com/reference/clibrary/cstdlib/itoa/
If you want people to help you, try to provide Short, Self Contained, Correct (Compilable), Example, and Don't be a Help Vampire!
C++ Super-FAQ - CppCon videos - C++14 latest draft (n3797) - C11 latest draft (n1570)
Boost - GCC 6.1.0 - Clang - GDB tutorial - Valgrind - Programming in 21 days