06 2023 档案

摘要:# C字符串函数(二) ### strcpy() **作用:** 拷贝整个字符串 **示例代码:** 拷贝以`q`开头的单词 **截取字符串函数:** ```c char * s_gets(char * st, int n) { char * ret_val; int i = 0; ret_val 阅读全文
posted @ 2023-06-14 01:41 俊king 阅读(11) 评论(0) 推荐(0) 编辑
摘要:# C字符串函数(一) > - `strlen()` -> 统计字符串长度 > - `strcat()`和`strncat()`函数 -> 拼接字符串函数 > - `strcmp()`和`strncmp()`函数 -> 字符串比较函数 > - `strcpy()`和`strncpy()`函数 -> 阅读全文
posted @ 2023-06-06 00:22 俊king 阅读(13) 评论(0) 推荐(0) 编辑

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