![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
linux 编程
huanny2005
这个作者很懒,什么都没留下…
展开
-
sscanf函数的用法
头文件 #include 定义函数 int sscanf (const char *str,const char * format,........); 函数说明 sscanf()会将参数str的字符串根据参数format字符串来转换并格式化数据。格式转换形式请参考scanf()。转换后的结果存于对应的参数内。转载 2015-05-05 19:36:53 · 397 阅读 · 0 评论 -
字符操作函数大全
函数名: strstr 功 能: 在串中查找指定字符串的第一次出现 用 法: char *strstr(char *str1, char *str2); 程序例: #include #include int main(void) { char *str1 = "Borland International", *str2 = "nation", *ptr;转载 2015-06-16 17:18:28 · 418 阅读 · 0 评论