上一页 1 2 3 4 5 6 7 8 ··· 11 下一页
摘要: 嘿嘿 阅读全文
posted @ 2012-04-29 10:47 嗷嗷 阅读(150) 评论(2) 推荐(0) 编辑
摘要: #include <iostream>class 我的类{public: 我的类(int 我的初始化变量){我的成员变量 = 我的初始化变量;} ~我的类(){} int 我的成员变量; void 打印我的变量(){std::cout<<我的成员变量<<std::endl;};};int main(){ 我的类 我的实例(1); 我的实例.打印我的变量(); return 0;} 阅读全文
posted @ 2012-04-27 14:01 嗷嗷 阅读(192) 评论(1) 推荐(0) 编辑
摘要: #define MKS_(x) #x#define MKSTRING(x) MKS_(x)#define M1 "macro 1 macro 1"#define M2 macro 2int main(){ printf("%s\n",MKSTRING(M1)); printf("%s\n",MKSTRING(M2)); printf("%s\n",MKSTRING(string1)); printf("%s\n",MKSTRING(str str)); printf("%s\n&quo 阅读全文
posted @ 2012-04-19 11:45 嗷嗷 阅读(408) 评论(0) 推荐(0) 编辑
摘要: ThequalifiedcandidatewilljoinIntelChinaFlexServices–PlatformEngineeringSolutionteamasasoftwareengineer.He/ShewillhaveopportunitiestoworkwithdifferentIntelproduct/businessgroupsonvariousR&Dprojects,mainlyfocusingonsystemlevelsoftwareareassuchasOSkernel,BIOS/Firmware/USB/PCIedevelopment,network/gr 阅读全文
posted @ 2012-04-01 10:44 嗷嗷 阅读(178) 评论(0) 推荐(0) 编辑
摘要: 在这里Abusing the C preprocessor(http://psomas.wordpress.com/tag/preprocessor/)看到这个C语言宏的使用技巧。把示意代码拷贝出来,稍加修改可以在VS下编译。 至于其中的原理我就不说了,XX后看原文吧。 void foo_1(int x){ printf("foo_1 %d\n",x); } void foo_... 阅读全文
posted @ 2011-11-29 09:27 嗷嗷 阅读(216) 评论(0) 推荐(0) 编辑
摘要: void (*signal (int signo,void (*func)(int) ) ) (int) 阅读全文
posted @ 2011-10-20 16:18 嗷嗷 阅读(1002) 评论(1) 推荐(0) 编辑
摘要: 一个伟大的人走了。 阅读全文
posted @ 2011-10-14 08:40 嗷嗷 阅读(211) 评论(1) 推荐(1) 编辑
摘要: 如果这个函数具有函数式语言中的函数的性质的时候,优化就会发生。 阅读全文
posted @ 2011-09-20 10:55 嗷嗷 阅读(707) 评论(0) 推荐(0) 编辑
摘要: 1+1=2是公式. 阅读全文
posted @ 2011-09-08 17:02 嗷嗷 阅读(369) 评论(0) 推荐(0) 编辑
摘要: 使用Process Monitor来得到程序运行参数 阅读全文
posted @ 2011-09-07 13:54 嗷嗷 阅读(2241) 评论(1) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 11 下一页