Message-ID: <327ACF62.528E@cs.com> Date: Fri, 01 Nov 1996 20:34:42 -0800 From: "John M. Aldrich" Reply-To: fighteer AT cs DOT com Organization: Three pounds of chaos and a pinch of salt MIME-Version: 1.0 To: Cesar Scarpini Rabak CC: Indrek Mandre , djgpp AT delorie DOT com Subject: Re: Problems with fread/fwrite References: <1 DOT 5 DOT 4 DOT 16 DOT 19961101184113 DOT 3807a528 AT dmeasc DOT rc DOT ipt DOT br> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cesar Scarpini Rabak wrote: > > BTW, your question about the proper return value of main is addressed in the > C Language FAQ (available at http://www.eskimo.com/~scs/C-faq/top.html) > question 11.12 in the April 3rd edition, also about the problem John > explained is described (in compact form) in question 12.38. I just looked at this site and it is really a fantastic document. The issue of void main() is discussed in detail in questions 11.12 through 11.16. I may start referring supplicants... ahem, users... to the C-FAQ instead of tediously explaining things. :) The text/binary file issue is more sketchily covered, but basically agrees with what I said. P.S.: The FAQ lists the location of djgpp (Yay!) in question 18.3, but specifies an obsolete location. I emailed the author requesting that he update his information. ;) -- John M. Aldrich, aka Fighteer I -----BEGIN GEEK CODE BLOCK----- Version: 3.1 GCS d- s+:- a-->? c++>$ U@>++$ p>+ L>++ E>+ W++ N++ o+ K? w(---) O- M-- V? PS+ PE Y+ PGP- t+(-) 5- X- R+ tv+() b+++ DI++ D++ G e(*)>++++ h!() !r !y+() ------END GEEK CODE BLOCK------