用字符串函数处理字符串问题 摘要:解题思路:在string.h中,提供了拼接两段字符串的函数strcat,使用它可以简便处理两段字符串的拼接注意事项:参考代码:#include <stdio.h>#include <…… 题解列表 2026年07月19日 0 点赞 0 评论 22 浏览 评分:0.0
111无需多言 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>int main() { char s1[20…… 题解列表 2026年04月14日 0 点赞 0 评论 214 浏览 评分:0.0
存储输入法 摘要:解题思路:用一个函数来作为输出字符串的作用注意事项:参考代码:#include <stdio.h>#include <string.h>void str3(char str[1…… 题解列表 2026年04月02日 0 点赞 0 评论 144 浏览 评分:0.0
编写题解 1032: [编程入门]自定义函数之字符串连接 摘要:解题思路:注意事项:scanf后面不加&符号参考代码:#include<stdio.h>#include<string.h>int main(){ &nbs…… 题解列表 2026年03月02日 2 点赞 0 评论 255 浏览 评分:0.0
字符串连接 摘要:解题思路:注意事项:连接的时候可以用数组形式赋值也可以用指针形式赋值,但是其实最后可以加一个长度限制的判断参考代码:#include <stdio.h>#include <strin…… 题解列表 2025年10月29日 1 点赞 0 评论 651 浏览 评分:10.0
编写题解 1032: [编程入门]自定义函数之字符串连接 摘要: #include #include #include #include #include using namespace std;…… 题解列表 2025年04月03日 0 点赞 0 评论 788 浏览 评分:0.0
数组实现字符串连接 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char a[100],b…… 题解列表 2025年01月24日 6 点赞 0 评论 1261 浏览 评分:10.0
利用数组遍历来实现连接 摘要:#include<stdio.h>int main(){ char a[1000],b[19999]; int i,j=0; &…… 题解列表 2025年01月04日 1 点赞 0 评论 607 浏览 评分:0.0
自定义函数之字符串连接 摘要:#include<stdio.h> int main(void) { char a[100]; char b[100]; char temp[100]; i…… 题解列表 2024年12月28日 0 点赞 0 评论 663 浏览 评分:0.0
简单易想到 摘要:解题思路:进行字符串拼接注意事项:参考代码:#include<stdio.h>#include<string.h>void fun(char*a,char*b){ char c[100]; int i…… 题解列表 2024年12月17日 1 点赞 0 评论 700 浏览 评分:0.0