| delorie.com/archives/browse.cgi | search |
| From: | Peter Danielsson <e96pd AT efd DOT lth DOT se> |
| 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 |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |