Re: Problem with 32 bit ints

From: George (greerga@CIRCLEMUD.ORG)
Date: 05/30/98


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 |
     +------------------------------------------------------------+



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