www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/07/17/05:33:08

From: "Tim Birch" <timbirch AT dial DOT pipex DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: trouble with binary files using ifstream (DJGPP)
Date: 16 Jul 1997 22:51:13 GMT
Organization: UUNET PIPEX
Lines: 8
Message-ID: <01bc923a$64322e60$LocalHost@damien>
Reply-To: "Tim Birch" <zy65 AT dial DOT pipex DOT com>
NNTP-Posting-Host: ae045.du.pipex.com
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hi, does anyone know exactly how to open a binary file for input using
ifstream. Whenever I try reading anything from any file, i.e. using get or
read, nothing gets read and errors get set. Opening the same file using
text mode works fine!

Please reply by e-mail ;

richardbirch AT dial DOT pipex DOT com

- Raw text -


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