Message-ID: <3AA73B7C.E5551C0E@earthlink.net> From: Martin Ambuhl X-Mailer: Mozilla 4.76 [en] (Win95; U) X-Accept-Language: en,zh-CN,fr,de-CH,ru MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: Re: question References: <3AA6E632 DOT C521F4C1 AT user DOT rose DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 7 Date: Thu, 08 Mar 2001 07:55:13 GMT NNTP-Posting-Host: 209.246.68.180 X-Complaints-To: abuse AT earthlink DOT net X-Trace: newsread1.prod.itd.earthlink.net 984038113 209.246.68.180 (Wed, 07 Mar 2001 23:55:13 PST) NNTP-Posting-Date: Wed, 07 Mar 2001 23:55:13 PST Organization: EarthLink Inc. -- http://www.EarthLink.net To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com April wrote: > if you only want to skip the rest of the stdin, might not gets() be more useful > and generic? gets() is a bug waiting to happen. Never use it. fgets() should do quite well.