Posted by Kenny McCormack on 08/16/06 03:01
In article <lnk659l811.fsf@nuthaus.mib.org>,
Keith Thompson <kst-u@mib.org> wrote:
>"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().
They'll get you for that.
[Back to original message]
|