home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Devil's Doorknob BBS Capture (1996-2003)
/
devilsdoorknobbbscapture1996-2003.iso
/
Dloads
/
PROGRAMM
/
CTUTOR.ZIP
/
SOURCE.ZIP
/
STRINGIN.C
< prev
next >
Wrap
Text File
|
1986-01-27
|
384b
|
16 lines
#include "stdio.h"
main()
{
char big[25];
printf("Input a character string, up to 25 characters.\n");
printf("An X in column 1 causes the program to stop.\n");
do {
scanf("%s",big);
printf("The string is -> %s\n",big);
} while (big[0] != 'X');
printf("End of program.\n");
}