Re: Problem with 32 bit ints

From: Chuck Carson (chuck@EDEN.COM)
Date: 05/30/98


George wrote:
>
> On Sun, 31 May 1998, Chuck Carson wrote:
>
> >printf("X = &ld\r\n", x);
>
> man 3 printf
>
>        diouxX The  int  (or appropriate variant) argument is con-
>               verted to signed decimal (d and i), unsigned  octal
>               (o), unsigned decimal (u), or unsigned hexadecimal (x
>               and X) notation. [...]
>
> --
> George Greer, greerga@circlemud.org | Genius may have its limitations, but
> http://patches.van.ml.org/          | stupidity is not thus handicapped.
> http://www.van.ml.org/CircleMUD/    |                  -- Elbert Hubbard
>
>      +------------------------------------------------------------+
>      | Ensure that you have read the CircleMUD Mailing List FAQ:  |
>      | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
>      +------------------------------------------------------------+
Okay, I am sorry, I am having a brain fart day.

As far as the code code, the value is correctly represented. Only the
printf functions converts it, right? I just need the value to be
accurate
in memory.

Thanks,
Chuck


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/15/00 PST