home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Devil's Doorknob BBS Capture (1996-2003)
/
devilsdoorknobbbscapture1996-2003.iso
/
Dloads
/
PROGRAMM
/
CTUTOR.ZIP
/
SOURCE.ZIP
/
SIMPLEIO.C
< prev
next >
Wrap
Text File
|
1986-01-27
|
384b
|
16 lines
#include "stdio.h" /* standard header for input/output */
main()
{
char c;
printf("Enter any characters, X = halt program.\n");
do {
c = getchar(); /* get a single character from the kb */
putchar(c); /* display the character on the monitor */
} while (c != 'X'); /* until an X is hit */
printf("\nEnd of program.\n");
}