摘要:
DescriptionThe C library functionvoid rewind(FILE *stream)sets the file position to the beginning of the file of the givenstream.DeclarationFollowing ... 阅读全文
posted @ 2015-11-30 21:03
清水汪汪
阅读(256)
评论(0)
推荐(0)
摘要:
DescriptionThe C library functionFILE *freopen(const char *filename, const char *mode, FILE *stream)associates a newfilenamewith the given open stream... 阅读全文
posted @ 2015-11-30 20:41
清水汪汪
阅读(275)
评论(0)
推荐(0)
摘要:
DescriptionThe C library functionFILE *tmpfile(void)creates a temporary file in binary update mode (wb+). The temporary file created is automatically ... 阅读全文
posted @ 2015-11-30 20:32
清水汪汪
阅读(311)
评论(0)
推荐(0)
摘要:
头文件:#include 定义函数:char * strdup(const char *s);函数说明:strdup()会先用malloc()配置与参数s 字符串相同的空间大小,然后将参数s 字符串的内容复制到该内存地址,然后把该地址返回。该地址最后可以利用free()来释放。返回值:返回一字符串指... 阅读全文
posted @ 2015-11-30 18:28
清水汪汪
阅读(9876)
评论(0)
推荐(0)

浙公网安备 33010602011771号