| | |
Key input
![]() |
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 binary bitmap c++ c/c++ char class classes classified code coding compatible compile console conversion count date delete deploy desktop developer directshow dll download dynamic dynamiccharacterarray email encryption error file filewrite forms fstream function functions game givemetehcodez graph gui homeworkhelp homeworkhelper homeworksolutions iamthwee icon if...else ifstream input int integer java lib linkedlist linker loop looping loops map math matrix memory multiple news node object output play pointer problem program programming project python random read recursion reference rpg string strings struct symbol temperature template test text text-file toolkit tree url values variable vector video win32 windows winsock wordfrequency wxwidgets







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