home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Archive Magazine 1996
/
ARCHIVE_96.iso
/
discs
/
mag_discs
/
volume_3
/
issue05
/
vol3no4
/
C
/
C_4_7
< prev
next >
Wrap
Text File
|
1989-12-11
|
242b
|
11 lines
#include <stdio.h>
int main( int argc, char *argv[] )
{
int n, i;
char s[100];
while ((n = scanf( "%d %s", &i, s )) == 2)
printf( "Got number %d, string %s\n", n, s );
if (n == EOF) return 0; else return 1;
}