Message-ID: <37C6D87D.A5C4FC2B@netvision.net.il> Date: Fri, 27 Aug 1999 21:27:10 +0300 From: Pyros X-Mailer: Mozilla 4.51 [en] (Win95; I) X-Accept-Language: en MIME-Version: 1.0 To: djgpp AT delorie DOT com Subject: Re: HELP: program won't start if i call this proc References: <199908251106 DOT NAA31104 AT acp3bf DOT physik DOT rwth-aachen DOT de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp AT delorie DOT com Yeah, i re-checked everything, and inspected the value of read. the value was 160000+, and i thought something is wrong with RHIDE.. i mean, hey, it's an int...32767 is the max, no? NO. well, it was like that in TC3. This is my second program i try to make with DJGPP (first one never tried to read a file, lucky thing), and i guess i should shake off old habits. thanks for punching my trunk so the apples will fall, i'll be checking out this whole data types thing soon. Avishay > Welcome to the world of real compilers, where ints aren't 16bit, > pointers can point as 'far' (or 'near') as you want, without you > having to call them so, and a malloc(1e6) won't be a problem, at all > :-) > > -- > Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de) > Even if all the snow were burnt, ashes would remain. -- Pyros: _O_ M |\P/|/ |) ( o|-| | | The Man Who Holds Fire In His Hand ---------------------------------- Avishay Yagoda http://www.geocities.com/SiliconValley/Lakes/6993 E-mail: yagoda AT netvision DOT net DOT il