Hey,
I am trying to make a simple word processing program. I would like to use something like this:
char a_char;
a_char=getche();
but I need it to be able to read spaces. Does anyone have any ideas?
Thanks,
Hey,
I am trying to make a simple word processing program. I would like to use something like this:
char a_char;
a_char=getche();
but I need it to be able to read spaces. Does anyone have any ideas?
Thanks,
Since you're posting in the C++ forum, you could use cin.getline();
MagosX.com
Give a man a fish and you feed him for a day.
Teach a man to fish and you feed him for a lifetime.