摘要: #include #include #define N 50#define FileD "C:\\contact1.txt"typedef struct contact{ char name[N]; char tele[N];}CON;CON s;void input(){ printf("inpu... 阅读全文
posted @ 2013-11-06 20:39 hello boge 阅读(178) 评论(0) 推荐(0)
摘要: &和&&的区别?&&是逻辑与运算符,|| 是逻辑或运算符逻辑与运算符:全为真(1)即结果为真(1),一个为假即全为假((0)逻辑或运算符:全为假(0)即结果为假(0),一个为真即全为真(1)逻辑非:非真(1)即为假(0)非假即为真。&是按位与运算符,| 是按位或运算符 阅读全文
posted @ 2013-11-06 20:37 hello boge 阅读(120) 评论(0) 推荐(0)