2009-10-26
const int LIM = 50;
const int LIM2 = 2 * LIM;/*error*/
const int LIM2 = 2 * LIMIT;
0 不是字符'0',而是ascii码表中的'/0',也就是字符串结束符。
/*#x字符串化*/
#ifdef MAVIS
#include "horse.h"
#define STABLES 5
#else
#include "cow.h"
#define STABLES 15
#endif
ifndef SIZE//如果没定义SIZE
#define SIZE 100
#endif
#if SYS == 1
#include "ipmpc.h"
#elif SYS == 2
#include "vax.h"
#elif SYS == 3
#include "mac.h"
#else
#include "general.h"
#endif