![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
编程语言
weirancg
这个作者很懒,什么都没留下…
展开
-
C语言字符串操作总结大全(超详细)
转:http://www.jb51.net/article/37410.htm1)字符串操作 strcpy(p, p1) 复制字符串 strncpy(p, p1, n) 复制指定长度字符串 strcat(p, p1) 附加字符串 strncat(p, p1, n) 附加指定长度字符串 strlen(p) 取字符串长度 strcmp(p, p1) 比较字符串 strcasecmp忽略大小转载 2017-03-01 18:38:04 · 242 阅读 · 0 评论 -
C安全函数整理
var protocol = window.location.protocol; document.write('#include <stdio.h> 函数原型: char *gets(char *buff); 函数说明: 从stdin流中读取字符串,直至接受到换行符或EOF时停止,并将读取的结果存放在buffer指针所指向的字符数组中。但换行符会被丢弃,然后在末尾添加'\0'字符,转载 2017-03-01 20:30:34 · 2679 阅读 · 0 评论 -
C语言格式输出函数printf()详解
转:http://c.biancheng.net/cpp/html/33.html转载 2017-03-02 10:50:26 · 495 阅读 · 0 评论