Apr 23, 2013 at 4:44pm
This problem is really simple.
I want to convert the integer into a string.
1 2
|
int x = 693;
char chararr[max];
|
in my homework, x is unknown. but dont worry, I wont ask for the full code. I just need the part where you change the int into a string/array of char.
I'm thinking in circles from where to start. help?
Last edited on Apr 23, 2013 at 4:46pm
Apr 23, 2013 at 4:47pm
google std::stringstream.
Apr 23, 2013 at 4:49pm
eh.. sorry mate, I'm still a beginner. I don't know what "std::"s are and I'm not allowed to use them really. sorry