delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/11/07/02:30:37

From: stryyker AT my-deja DOT com
Newsgroups: comp.os.msdos.djgpp
Subject: Partial file overwrite
Date: Tue, 07 Nov 2000 07:08:07 GMT
Organization: Deja.com - Before you buy.
Lines: 9
Message-ID: <8u89ok$r75$1@nnrp1.deja.com>
NNTP-Posting-Host: 203.173.253.150
X-Article-Creation-Date: Tue Nov 07 07:08:07 2000 GMT
X-Http-User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows 98)
X-Http-Proxy: 1.0 CPROXY:8080, 1.0 x58.deja.com:80 (Squid/1.1.22) for client 203.173.253.150
X-MyDeja-Info: XMYDJUIDstryyker
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

how do I overwrite a part of a binary file without disturbing the rest?
I don't want to create a temp file then delete/rename. I code using
c++. I am using xxx.get(char) to read bytes.

Thanks


Sent via Deja.com http://www.deja.com/
Before you buy.

- Raw text -


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