Garst R. Reese wrote:
Thanks Steve,
With a lot of casts, it got it right:) I find it strange that the
compiler can't figure that out tho, but my first HL language was Pascal
(Actually Algol but...).

C hast any built-in bounds checks, neither for arrays nor for numbers, not for the stack or anything else...

Is there a way to print a 32bit integer with printf ?

yes, %lu should work

chris


Reply via email to