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,
Printable View
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();