随笔 - 143  文章 - 0  评论 - 23  阅读 - 125万
  2012年5月31日
摘要: void *memset(void *s, int ch, size_t n); 函数解释:将s中前n个字节替换为ch并返回s; memset:作用是在一段内存块中填充某个给定的值,它是对较大的结构体或数组进行清零操作的一种最快方法。 原型声明:extern char *strcpy(char *dest,const char *src); 头文件:string.h 功能:把从src地址开始且含有NULL结束符的字符串赋值到以dest开始的地址空间 说明:src和dest所指内存区域不可以重叠且dest必须有足够的空间来容纳src的字符串。 返回指向dest的指针。 函数功能:把格... 阅读全文
posted @ 2012-05-31 17:12 cbwcwy 阅读(208) 评论(0) 推荐(0) 编辑
摘要: 运行GoogleTest Sample在VMware/Redhat enterprise V5* make[root@localhost make]# makemake: Warning: File `Makefile' has modification time 2.3e+07 s in the futureg++ -I../include -g -Wall -Wextra -c ../samples/sample1.ccg++ -I../include -g -Wall -Wextra -c ../samples/sample1_unittest.ccg++ -I../includ 阅读全文
posted @ 2012-05-31 11:21 cbwcwy 阅读(3488) 评论(1) 推荐(0) 编辑
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

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