han@ucscf.UCSC.EDU (14508000) (01/01/91)
I have a program with unsigned long integer. If values are initiated 2^31 or greater, THINKC doesn't understand. I was using %ld because %ul or somthing was not defined. How can I avoid this problem? What can I do when i use '#define'? if I use '#define'? Jong-Hoon jhoh@joseph.ucsc.edu
Chris.Gehlker@p12.f56.n114.z1.fidonet.org (Chris Gehlker) (01/03/91)
1> I have a program with unsigned long integer. If values are initiated
1> 2^31 or greater, THINKC doesn't understand. I was using %ld because
1> %ul or somthing was not defined. How can I avoid this problem?
Try %lu.
--
Uucp: ...{gatech,ames,rutgers}!ncar!asuvax!stjhmc!56.12!Chris.Gehlker
Internet: Chris.Gehlker@p12.f56.n114.z1.fidonet.org