From: Peter Danielsson Newsgroups: comp.os.msdos.djgpp Subject: fstream.open?? Date: Tue, 11 Aug 1998 15:54:31 +0200 Organization: student Lines: 5 Message-ID: <35D04D17.187A@efd.lth.se> Reply-To: e96pd AT efd DOT lth DOT se NNTP-Posting-Host: cie96ojo.student.lth.se Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk I want to change the first byte in a file using fstream. If i use fil.open then fil.write(&ch,1) then fil.close() I get a 1byte large file only including ch. What can I do?? /Peter