fujingdcn |
2006-06-14 18:39 |
#define 甲 A #define 乙 B #define 无赖 0 #define 骑士 1
main() { if ((A == 0 | B == 1) == false) { /* A = 0 */ A = 1; B = 0; exit(0);} /* wrong */ else if (A == 0) exit(0); /* A = 1 wrong */ else if (A == 1) B = 0; /* A = 1 & B = 0 wrong */ else B = 1 /* A = 1 & B = 1 right */ }
所以甲是骑士,乙是骑士。 |
|