| delorie.com/archives/browse.cgi | search |
| Date: | Wed, 19 Nov 1997 10:49:50 +0200 (IST) |
| From: | Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> |
| To: | Elvis Dieguez <elvisum AT ibm DOT net> |
| cc: | DJGPP Mail Group <djgpp AT delorie DOT com> |
| Subject: | Re: Scanf Function and EOF |
| In-Reply-To: | <34726566.7BE99635@ibm.net> |
| Message-ID: | <Pine.SUN.3.91.971119104920.8258G-100000@is> |
| MIME-Version: | 1.0 |
On Tue, 18 Nov 1997, Elvis Dieguez wrote: > I wrote a simple While-loop that scans in some strings until the EOF > marker is reached (or Cntrl-D is pressed). The loop works correctly > when compiled on a Unix compiler but refuses to do so when compiled with > DJGPP. On DOS, Ctrl-D is NOT an EOF character. Press Ctrl-Z and you should see the same behavior as on Unix.
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |