Message-Id: <199709220431.OAA28739@rabble.uow.edu.au> Subject: Re: %d To: jay5 AT ibm DOT net Date: Mon, 22 Sep 1997 14:31:13 +1000 (EST) Cc: djgpp AT delorie DOT com (DJGPP) In-Reply-To: <34244BC2.3592@ibm.net> from Jay at "Sep 20, 97 06:18:42 pm" From: Brett Porter MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk > How come the integer specification %d doesn't work under DJGPP? Isn't > this suposed be a C compiler? > It works for me... what are you doing wrong? If you want a real answer then you'll have to say what occured that leads you to believe that %d doesn't work. Just a BTW, does anyone know whether %d looks for a 32-bit int or a 16-bit int in djgpp? I originally thought it would take a 32-bit, but I notice that there is a long modifier %l, but no short modifier. Anyone know for certain? I haven't had any problems yet, but if I pass it a 16-bit short and it expects a 32-bit and then I try and pass it some more arguments I may (in the future) get a crash, so I thought I'd check it out now. Thanks Brett -- "Give me ambiguity or give me something else" -- Brett Porter bporter AT rabble DOT uow DOT edu DOT au http://www.geocities.com/CollegePark/Union/3596 Humour, Programming, and more.