How can I input a character without having to press enter?
This is a discussion on Quick question within the C++ Programming forums, part of the General Programming Boards category; How can I input a character without having to press enter?...
How can I input a character without having to press enter?
Look in the tutorial!!! www.cprogramming.com!!!
just one hint:
it is in conio.h
Yoshi
Step 1) #include <conio.h>
Step 2)Use getch() to get a char without echoing it to the screen.
Or use getche() to get a char and echo it to the screen
both return a single char