| 
	
 | 
 Posted by Keith Thompson on 08/16/06 02:38 
"Chung Leong" <chernyshevsky@hotmail.com> writes: 
> SadOldGit wrote: 
>> Chung Leong wrote: 
>> > Google "stdio.h". To read from stdin, you just do it as though you're 
>> > reading from the keyboard, with functions like gets() 
>> 
>> I seriously hope you are not using gets() !!!! 
> 
> It's been a while since I last use the stdio function :-)  I vaguely 
> remember that the command-line in MS-DOS has a certain limit, so it was 
> actually OK to use gets(). scanf() was the one to avoid. 
 
No, it's ok to use gets(). 
 
--  
Keith Thompson (The_Other_Keith) kst-u@mib.org  <http://www.ghoti.net/~kst> 
San Diego Supercomputer Center             <*>  <http://users.sdsc.edu/~kst> 
We must do something.  This is something.  Therefore, we must do this.
 
  
Navigation:
[Reply to this message] 
 |