View Single Post
Old Dec 10th, 2005, 11:09 AM   #2
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
This is not possible with standard C/C++. You must use non-portable code. The code you use depends upon your operating system and platform, which is why the posting guidelines recommend including that information with your questions.

There is not a portable way because there is not a world standard way of getting input and producing output. Some people are blind, some are paralyzed, some have home-built systems, some systems have no UI per se. You get the picture.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote