delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/10/11/19:47:47

Message-Id: <199610112339.QAA02273@dfw-ix8.ix.netcom.com>
From: "Alexey Kouzmitch" <alexey AT ix DOT netcom DOT com>
To: "DJGPP Mailing Archive" <djgpp AT delorie DOT com>
Subject: how do I read files ???
Date: Fri, 11 Oct 1996 19:39:51 -0400
MIME-Version: 1.0

	I get a weird crash if I try something like:

_file_id1=fgetc(_lib_file);
or,
read (_lib_file,_file_id1);

where _libe_file is FILE* and _file_id is an int...

How do I got the best way about reading bytes (or structures) from files
anyway ???

Thanks ahead! I'll be very grateful for HELP !!!


                                         Alexey Kouzmitch.

- Raw text -


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