05 2018 档案

摘要:编译结果: 区分技巧: 首先两者都是指针。看*和const谁离的变量名近:如果const近,那么就是const指针(const=常量嘛,常指针);如果*近,就是指向常量的指针,此时const与int的位置无关。 阅读全文
posted @ 2018-05-30 17:00 一梦、 阅读(798) 评论(0) 推荐(0) 编辑
摘要:代码: 打印结果: 阅读全文
posted @ 2018-05-29 11:21 一梦、 阅读(2881) 评论(0) 推荐(0) 编辑
摘要:代码: 打印结果: 阅读全文
posted @ 2018-05-29 10:55 一梦、 阅读(5488) 评论(0) 推荐(0) 编辑
摘要:环境:centos 6.5 web容器:apache2.4,[<http://httpd.apache.org/docs/2.4/] 准备: 在/usr/local/apache/htdocs/添加 index.html 在/usr/local/apache/cgi-bin添加 cgitest.c 阅读全文
posted @ 2018-05-23 11:23 一梦、 阅读(4678) 评论(2) 推荐(0) 编辑
摘要:控制台打印: 阅读全文
posted @ 2018-05-21 14:57 一梦、 阅读(719) 评论(0) 推荐(0) 编辑
摘要:控制台输出: 192.168.1.78 hget haha_Infor OWner这么一看就明白了吧。 在字符串中: C 库函数 int sscanf(const char *str, const char *format, ...) 从字符串读取格式化输入。 C 库函数 int sprintf(c 阅读全文
posted @ 2018-05-09 16:15 一梦、 阅读(433) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示