Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Watcom C Library Reference - these functions provide the capability to read and write data from the http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
These functions provide the capability to read and write data from the
console.  Data is read or written without any special initialization
(devices are not opened or closed), since the functions operate at the
hardware level.

The following functions are defined:

cgets
    get a string from the console

cprintf
    print formatted string to the console

cputs
    write a string to the console

cscanf
    scan formatted data from the console

getch
    get character from console, no echo

getche
    get character from console, echo it

kbhit
    test if keystroke available

putch
    write a character to the console

ungetch
    push back next character from console

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson