Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!apple!usc!julius.cs.uiuc.edu!rpi!bu.edu!att!bellcore!decvax.dec.com!shlump.nac.dec.com!vaxwrk.enet.dec.com!granoff From: granoff@vaxwrk.enet.dec.com (Mark H. Granoff) Newsgroups: comp.os.msdos.programmer Subject: Re: Turbo C++ fopen() & fflush() Message-ID: <1990Nov27.135927@vaxwrk.enet.dec.com> Date: 27 Nov 90 19:02:39 GMT References: <1778@mts.ucs.UAlberta.CA> Sender: newsdaemon@shlump.nac.dec.com Reply-To: granoff@vaxwrk.enet.dec.com (Mark H. Granoff) Followup-To: comp.sys.ibm.pc.programmer Organization: Digital Equipment Corporation, Maynard MA Lines: 20 In article <1778@mts.ucs.UAlberta.CA>, userBARD@mts.ucs.UAlberta.CA (Barry Ard) writes: >... Am I mistaken? I don't want to have to >open, write, close, the re-open the file, it seems so kludgy and >defeats the purpose of why I am flushing in the first place. As a matter of good programming, I would close the file explicitly before leaving the program. However, I see your point, and can't explain your results. Perhaps its a bug, which ought to be reported. --------------------------------------------------------------------------- Mark H. Granoff | Enterprise Integration Services/Engineering VAXworks --------------------------------------------------------------------------- Digital Equipment Corporation | ARPAnet: granoff@vaxwrk.enet.dec.com 129 Parker Street | Usenet : ...!decwrl!vaxwrk.dec.com!granoff PKO2-1/M21 | AT&T : +1 508 493 4512 Maynard, MA 01754 | FAX : +1 508 493 2240 --------------------------------------------------------------------------- Opinions herein are my own and do not necessarily reflect those of Digital. ---------------------------------------------------------------------------