From: elric AT wheel DOT dcn DOT davis DOT ca DOT us (Jeffrey Taylor) Newsgroups: comp.os.msdos.djgpp Subject: Read/Write fstreams Date: 2 Nov 1996 00:47:36 GMT Organization: Davis Community Network - Davis, California, USA Lines: 8 Message-ID: <55e5n8$iv@mark.ucdavis.edu> NNTP-Posting-Host: wheel.dcn.davis.ca.us To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp I searched the mailing list archives and I found the original question but not the answer. I am trying to use a C++ fstream as scratch file. I want to write the whole file, rewind, and read the whole file, repeating several times. I haven't found the magic combination of openmode that allows this. Could the person who posted the answer re-post it. Thanks, Jeff