|
|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: T s
Length: 957 (0x3bd)
Types: TextFile
Names: »sizes.c«
└─⟦b20c6495f⟧ Bits:30007238 EUUGD18: Wien-båndet, efterår 1987
└─⟦this⟧ »EUUGD18/General/Gb/sizes.c«
/*
* Galactic Bloodshed (Robert Chansky, smq@b)
*/
#include "vars.h"
#include "ships.h"
#include "races.h"
#include "power.h"
struct power P[MAXPLAYERS];
main() {
printf(" size startype is %d\n",sizeof(startype));
printf(" size planettype is %d\n",sizeof(planettype));
printf(" size shiptype is %d\n\n",sizeof(shiptype));
printf(" size racetype is %d\n",sizeof(racetype));
printf(" size placetype is %d\n",sizeof(placetype));
printf(" size ordertype is %d\n",sizeof(ordertype));
printf(" size struct plinfo is %d\n\n",sizeof(struct plinfo));
/*###18 [cc] unknown size%%%*/
/*###20 [cc] unknown size%%%*/
printf(" size struct power [15] is %d\n\n",sizeof(P));
printf(" size sectortype is %d\n",sizeof(sectortype));
printf(" size long = %d\n",sizeof(long) );
printf(" size int = %d\n",sizeof(int) );
printf(" size short = %d\n",sizeof(short) );
printf(" size double = %d\n",sizeof(double) );
printf(" size float = %d\n",sizeof(float) );
}