1032:[编程入门]自定义函数之字符串连接 摘要:解题思路:注意事项:要写括号参考代码:#include<bits/stdc++.h>using namespace std;int q(string a,string b){ …… 题解列表 2025年07月24日 1 点赞 1 评论 104 浏览 评分:10.0
在函数内直接相加实现拼接 摘要:解题思路:先定义两个字符串类型的变量依次输入,然后调用函数,在函数内通过相加实现字符串的拼接注意事项:参考代码:#include<bits/stdc++.h>using namespace…… 题解列表 2025年04月09日 1 点赞 0 评论 308 浏览 评分:10.0
编写题解 1032: [编程入门]自定义函数之字符串连接 摘要: #include #include #include #include #include using namespace std;…… 题解列表 2025年04月03日 0 点赞 0 评论 437 浏览 评分:0.0
常规解法---------------------------------------------------------- 摘要:解题思路:注意事项:参考代码:#include<iostream>#include <cstring>using namespace std;const int N = 101…… 题解列表 2025年03月17日 0 点赞 0 评论 293 浏览 评分:0.0
数组实现字符串连接 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char a[100],b…… 题解列表 2025年01月24日 6 点赞 0 评论 851 浏览 评分:10.0
利用数组遍历来实现连接 摘要:#include<stdio.h>int main(){ char a[1000],b[19999]; int i,j=0; &…… 题解列表 2025年01月04日 1 点赞 0 评论 341 浏览 评分:0.0
自定义函数之字符串连接 摘要:#include<stdio.h> int main(void) { char a[100]; char b[100]; char temp[100]; i…… 题解列表 2024年12月28日 0 点赞 0 评论 455 浏览 评分:0.0
简单易想到 摘要:解题思路:进行字符串拼接注意事项:参考代码:#include<stdio.h>#include<string.h>void fun(char*a,char*b){ char c[100]; int i…… 题解列表 2024年12月17日 1 点赞 0 评论 476 浏览 评分:0.0
[编程入门]自定义函数之字符串连接 两行搞定! 摘要:解题思路:注意事项: 哈哈哈哈哈哈,没骗你吧参考代码:#include"bits/stdc++.h" using namespace std;int main(){st…… 题解列表 2024年12月06日 4 点赞 2 评论 471 浏览 评分:10.0
最普通的解题方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ char a[150]; char b[51]; gets(a); gets(b); …… 题解列表 2024年11月20日 1 点赞 0 评论 463 浏览 评分:0.0