#include <stdlib.h>
#include "bbs.h"
main()
{
userec test;
boardheader test2;
printf("the size of userec is : %d bytes \n",sizeof(test));
printf("the size of int is : %d bytes \n",sizeof(int));
printf("the size of char is : %d bytes \n",sizeof(char));
printf("the size of long is : %d bytes \n",sizeof(long));
printf("the size of boardh is : %d bytes \n",sizeof(test2));
printf("the size of usint is : %d bytes \n",sizeof(usint));
printf("the size of uschar is : %d bytes \n",sizeof(uschar));
}
--
※ 發信站: 批踢踢實業坊(ptt.m8.ntu.edu.tw)
◆ From: yychen.personal