Mail Archives: djgpp/1997/09/22/00:34:26
> 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.
- Raw text -