home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power Programming
/
powerprogramming1994.iso
/
progtool
/
keyboard
/
inputs.arc
/
INPUTS.C
Wrap
Text File
|
1985-06-03
|
256b
|
17 lines
/* a function that accepts a string from the keyboard */
inputs(s)
char s[];
{
int i;
for(i=0;(s[i]=getchar()) != '\n' && i<MAXLIN-1; ++i)
;
s[i]='\0';
}
har s[];
{
int i;