Re: Pfile spares

From: Phillip A. Ames (kirk47@JUNO.COM)
Date: 08/29/98


>On your system and architecture, do the compile and run the following.
>
>#include <stdio.h>
>void main () {
>        printf ("int: %d  long: %d\n", sizeof (int), sizeof (long));
>}
>
>If they're the same, you can probably get away with changing an int to
>long.  If not, you might to bundle two int's together.
>
>Try to keep like types grouped together within a structure, this will
>prevent unwanted byte padding as much as possible.
>
>d.

Alright, the int is 4 and the long is 4, so I spose I can do that.
Thanks for the help.

ObCircle:
Anyone here use room depths?  I have a few questions about them...  First
is, where do I define a weapons range?  Second, where do I find the
"give" range?  Thanks in advance!

-Phillip


Phillip Ames    | Satisfaction is not guaranteed.
kirk47@juno.com | -Ferengi Rule of Acquisition #19
ICQ: 8778335    | AOL IM: Grathol
http://members.xoom.com/Gowron/index.html(Unfinished)

_____________________________________________________________________
You don't need to buy Internet access to use free Internet e-mail.
Get completely free e-mail from Juno at http://www.juno.com
Or call Juno at (800) 654-JUNO [654-5866]


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