摘要: switch#include int main(int argc, char * argv[]){ int i; scanf("%d",&i); switch(i) { case 1: {printf("春"); break;... 阅读全文
posted @ 2014-07-10 15:33 尐苹果 阅读(121) 评论(0) 推荐(0) 编辑
摘要: bool 数据类型#define TRUE 1//#define FALAE 0#define BOOL intBool flag=1;bool型 实质上是 int型c89没有提供c99 有提供赋值时,应该给true或 false。如果给一个非零值 则储存为1;bool flag =tuue;#in... 阅读全文
posted @ 2014-07-10 14:04 尐苹果 阅读(179) 评论(0) 推荐(0) 编辑