delorie.com/archives/browse.cgi | search |
Date: | Thu, 09 Nov 2000 18:59:45 +0200 |
From: | "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il> |
Sender: | halo1 AT zahav DOT net DOT il |
To: | djgpp AT delorie DOT com |
Message-Id: | <3405-Thu09Nov2000185944+0200-eliz@is.elta.co.il> |
X-Mailer: | Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.8 |
In-reply-to: | <8u9thf$6j9$1@nnrp1.deja.com> (stryyker@my-deja.com) |
Subject: | Re: Partial file overwrite |
References: | <Pine DOT SUN DOT 3 DOT 91 DOT 1001107132456 DOT 24223K-100000 AT is> <8u9thf$6j9$1 AT nnrp1 DOT deja DOT com> |
Reply-To: | djgpp AT delorie DOT com |
Errors-To: | nobody AT delorie DOT com |
X-Mailing-List: | djgpp AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
> From: stryyker AT my-deja DOT com > Newsgroups: comp.os.msdos.djgpp > Date: Tue, 07 Nov 2000 21:51:46 GMT > > > > Open the file in read/write mode, seek to the place where you want to > > change, write the new contents, then close the file. > > > > Does that do what you want? > > > And how do I open the file in read/write mode? (I am new to c++) Use both ios:in and ios:out when you declare the stream object, I suppose.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |