摘要: 原型:extern void *memcpy(void *dest, void *src, unsigned int count);用法:#include 功能:由src所指内存区域复制count个字节到dest所指内存区域。说明:src和dest所指内存区域不能重叠,函数返回指向dest的指针。举... 阅读全文
posted @ 2014-08-10 17:16 gongpixin 阅读(476) 评论(0) 推荐(0) 编辑
摘要: 函数原型:char * strncpy ( char * destination, const char * source, size_t num );功能:从字符串source中复制 num个字符到字符串destination中,返回指向字符串destination的指针。使用注意:destina... 阅读全文
posted @ 2014-08-10 16:41 gongpixin 阅读(489) 评论(0) 推荐(0) 编辑