delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/08/29/11:10:58

From: Robert Hoehne <Robert DOT Hoehne AT Mathematik DOT TU-Chemnitz DOT DE>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Problem with fstreams...
Date: Mon, 25 Aug 1997 11:46:42 +0200
Organization: TU Chemnitz-Zwickau
Lines: 16
Message-ID: <34015482.674D@Mathematik.TU-Chemnitz.DE>
References: <5tps7b$rpo$1 AT news DOT sendit DOT nodak DOT edu>
NNTP-Posting-Host: tantalus.hrz.tu-chemnitz.de
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Adam W Lee wrote:
> 
> I'm trying to write a program to read a file and write it to another file
> in C++, but my program quits like halfway through the file with a read

A short hint: Open your streams on DOS in
binary mode!!

Robert
-- 
*****************************************************************
* Robert Hoehne, Fakultaet fuer Mathematik, TU-Chemnitz-Zwickau *
* Post:    Am Berg 3, D-09573 Dittmannsdorf                     *
* e-Mail:  Robert DOT Hoehne AT Mathematik DOT TU-Chemnitz DOT DE              *
* WWW:     http://www.tu-chemnitz.de/~rho                       *
*****************************************************************

- Raw text -


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