摘要: 错题,知识盲点、查漏补缺好题,开阔思路、锻炼思维ch7 指针与引用1.传递动态内存 1 #include 2 #include 3 #include 4 #include 5 using namespace std; 6 7 void GetMemory(char *p,int num){ 8 ... 阅读全文
posted @ 2015-04-11 19:55 Qin&Yang 阅读(233) 评论(0) 推荐(0) 编辑
摘要: 题目:It is necessary to arrange numbers from 0 to 2^(N+M)-1 in the matrix with 2^N rows and 2^M columns. Moreover, numbers occupying two adjacent cells ... 阅读全文
posted @ 2015-04-11 12:43 Qin&Yang 阅读(359) 评论(0) 推荐(0) 编辑
摘要: 要注意,先关闭Nginx再添加第三方的模块,负责会编译不进去,我被这个地方坑了好久。关闭命令:/usr/local/nginx/sbin/nginx -s quit然后才是:./configure --prefix=/usr/local/nginx --add-module=/root/coding... 阅读全文
posted @ 2015-04-11 10:22 Qin&Yang 阅读(1258) 评论(0) 推荐(0) 编辑
摘要: 1.安装gcc,gcc-c++以及pcre库zlib库Openssl库。2.内核参数的优化,修改/etc/sysctl.conffs.file-max = 999999net.ipv4.tcp_tw_reuse = 1net.ipv4.tcp_keepalive_time = 600net.ipv4... 阅读全文
posted @ 2015-04-11 10:16 Qin&Yang 阅读(115) 评论(0) 推荐(0) 编辑