Quote (DARK_SPAWN @ Mar 25 2013 10:40pm)
haven't learned that one yet.
I managed to fix the issue and not just copying each if statements again for each letter and number haha.
How could i take the char a and b and put them pack into a string? but their gonna be numbers.
if this is C++ i would look at using the .c_str() method and the and to convert it back just initialize the string with the cstring modified value
Code
string lol = "whats this???";
char cstr[100] = lol.c_str();
//modify cstr
lol = cstr;
its a bit of a round about method of doing this seeing how you can do everything you need with a c string.
Code
char str[100] = {0};
cin << str;
//work with your string
cout >> str << endl;