www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/09/20/00:49:34

From: leathm AT solwarra (Leath Muller)
Message-Id: <199609200423.OAA07466@gbrmpa.gov.au>
Subject: Re: Can not reset an open ifstream file.
To: cs3prj04 AT lion DOT cs DOT latrobe DOT edu DOT au (Cs3prj Group 04)
Date: Fri, 20 Sep 1996 14:23:02 +1000 (EST)
Cc: djgpp AT delorie DOT com
Reply-To: leathm AT gbrmpa DOT gov DOT au
In-Reply-To: <51qo44$e2@lion.cs.latrobe.edu.au> from "Cs3prj Group 04" at Sep 19, 96 06:10:12 am

> After running the below program I would be perfectly justified in saying
> that the fools who designed the iostream/fstream classes have provided no
> means of reseting an open file so that it can be read again.

Ummm...its not good to call the programmers of iostream 'fools',
especially if your only a third year student... :)

I can guarantee that there is a way of resetting and open file for
re-reading, but I have not a clue (ie: I can't remember... :) how to
do it...look at the docs, I am sure they will tell you...

Leathal. 

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019