Hi, I am currently programming my project in C and use the getc( stdin ); command to take single character input. Is there any way that I can do this in C++. Or is there an equivalent command.
Thanks in advance,
mintsmike
Printable View
Hi, I am currently programming my project in C and use the getc( stdin ); command to take single character input. Is there any way that I can do this in C++. Or is there an equivalent command.
Thanks in advance,
mintsmike
Not in the standard. If you look in the FAQ for "How do I read input wihtout waiting for enter" it will show you some non-standard methods for doing this.