Jump to content
Posted 24 February 2009 - 10:46 PM
Posted 24 February 2009 - 10:56 PM
Any particular reason why?
I dont want to use getch() or _getch() in C++.
That's because they don't exist. There is no standard way of accessing unbuffered console input. Even _getch() and _getche() are NOT part of C or C++... however they are implemented by most compilers, they are NOT in the C spec.
But I cannot find some good equivalent method of generating the same effect.
C console and port I/OC provides additional I/O routines that have no C++ equivalent, such as _getch( ), _ungetch( ), and _kbhit( )
Posted 25 February 2009 - 04:54 AM
Posted 25 February 2009 - 06:01 AM
Edited by Billy O'Neal, 25 February 2009 - 06:02 AM.
Posted 25 February 2009 - 06:21 AM
Just more tools in your toolbox to play with
Posted 25 February 2009 - 06:23 AM
0 members, 0 guests, 0 anonymous users