Re: need some help with I/O
From: Irrwahn Grausewitz (irrwahn33_at_freenet.de)
Date: 11/18/03
- Next message: J. J. Farrell: "Re: const char * to char[]"
- Previous message: Mike Wahler: "Re: Documenting C Code"
- In reply to: Les Coover: "Re: need some help with I/O"
- Next in thread: Floyd Davidson: "Re: need some help with I/O"
- Reply: Floyd Davidson: "Re: need some help with I/O"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 18 Nov 2003 23:48:31 +0100
"Les Coover" <lcc66604@cox.net.spam> wrote:
> Works on MS-DOS using control-c or control-z but not on
> UNIX using control-d or control-c
>
> I will work on a graceful way to exit the loop.
That's definitely the best way to deal with the problem. And
when you're done you can forget about the call to fflush; when
the fclose is reached after exiting the loop, the output buffer
will automatically be flushed.
Regards
-- Irrwahn (irrwahn33@freenet.de)
- Next message: J. J. Farrell: "Re: const char * to char[]"
- Previous message: Mike Wahler: "Re: Documenting C Code"
- In reply to: Les Coover: "Re: need some help with I/O"
- Next in thread: Floyd Davidson: "Re: need some help with I/O"
- Reply: Floyd Davidson: "Re: need some help with I/O"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|