Message-Id: <199610112339.QAA02273@dfw-ix8.ix.netcom.com> From: "Alexey Kouzmitch" To: "DJGPP Mailing Archive" Subject: how do I read files ??? Date: Fri, 11 Oct 1996 19:39:51 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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.