摘要: #include <stdio.h>#include <ctype.h>#include <stdlib.h>int result(int a,char b,int c){ int i; switch (b) { case '+': i=(a+c); break; case '-': i=(a-c); break; case '*': i=(a*c); brea... 阅读全文
posted @ 2010-06-15 14:49 c++我们一起学习 阅读(135) 评论(0) 推荐(0) 编辑
摘要: 类函数结束是否加了分号 阅读全文
posted @ 2010-06-13 00:08 c++我们一起学习 阅读(642) 评论(0) 推荐(0) 编辑
摘要: 删除中间前后组成的b保留 阅读全文
posted @ 2010-06-08 10:04 c++我们一起学习 阅读(1183) 评论(0) 推荐(0) 编辑
摘要: 缺失符号,或检查符号大小写 阅读全文
posted @ 2010-06-02 11:26 c++我们一起学习 阅读(617) 评论(0) 推荐(0) 编辑
摘要: #pragma pack(12)//对齐不能不能是12,应该是2的平方数 阅读全文
posted @ 2010-05-29 23:36 c++我们一起学习 阅读(463) 评论(0) 推荐(0) 编辑
摘要: [代码]struct结构后面缺少;符号错误 阅读全文
posted @ 2010-05-29 22:16 c++我们一起学习 阅读(1161) 评论(0) 推荐(0) 编辑
摘要: [代码][代码][代码] 阅读全文
posted @ 2010-05-12 04:45 c++我们一起学习 阅读(175) 评论(0) 推荐(0) 编辑
摘要: [代码]//2098d//100000110010b 阅读全文
posted @ 2010-05-11 15:14 c++我们一起学习 阅读(137) 评论(0) 推荐(0) 编辑
摘要: 代码 阅读全文
posted @ 2010-05-08 21:57 c++我们一起学习 阅读(1075) 评论(0) 推荐(0) 编辑
摘要: 'a'was found in "This is a test".'z'was not found in "This is a test".利用函数计算字符串1中出现字符串2的次数[代码] 阅读全文
posted @ 2010-05-08 16:52 c++我们一起学习 阅读(387) 评论(0) 推荐(0) 编辑