| | |
Key input
Please support our C++ advertiser: Intel Parallel Studio Home
![]() |
Your best bet is to press "M<return>" and use
fgets() to read the input and process the first character. It's portable and will work on ALL compilers. Last edited by WaltP; Nov 24th, 2008 at 6:28 pm.
The 3 Laws of the Procrastination Society:
1) Never do today that which can be put off until tomorrow
2) Tomorrow never comes
1) Never do today that which can be put off until tomorrow
2) Tomorrow never comes
![]() |
Similar Threads
- Stop a keyboard key input (Visual Basic 4 / 5 / 6)
- Trapping the Tab Key....... (C++)
- school project: simple C++ game (need help with keyboard input) (C++)
- overloaded input stream help (C++)
- how to get the last key pressed without stopping the programm ? (C)
- Getting Key Input (C++)
- need help with fstream input files (C++)
Other Threads in the C++ Forum
- Previous Thread: Simple C++ Class problem
- Next Thread: setting size of 2-D array at constructor issue
| Thread Tools | Search this Thread |
api array based beginner bitmap c++ c/c++ calculator char class classes code coding compile compiler console conversion count database delete deploy desktop developer directshow dll download dynamic email encryption error file forms fstream function functions game givemetehcodez google graph gui homeworkhelp homeworkhelper iamthwee ifstream input int integer java lib linkedlist linker linux list loop looping loops map math matrix memory multiple news node number output parameter pointer problem program programming project python random read recursion recursive return sorting string strings struct temperature template templates test text text-file tree unix url variable vector video visualstudio win32 windows winsock word wordfrequency wxwidgets







). If you are developing GUI application, keyboard key access depends of selected GUI platform...