编写题解 1032: [编程入门]自定义函数之字符串连接 摘要:解题思路:注意事项:参考代码:#include<stdio.h>void connect(char a[],char b[]){ int i,j=0; while(a[i]!=0)…… 题解列表 2024年09月20日 0 点赞 0 评论 216 浏览 评分:9.9
可以判断空格不输出 摘要:解题思路:注意事项:参考代码:#include<string.h>int main(){ int i,a,b; char str1[100],str2[100]; gets(str1); get…… 题解列表 2024年10月18日 0 点赞 0 评论 158 浏览 评分:9.9
1032: [编程入门]自定义函数之字符串连接(python) 摘要:#### 无需多言 ~~~python def main(): print(input() + input()) if __name__ == '__main__': …… 题解列表 2024年10月24日 0 点赞 0 评论 188 浏览 评分:9.9
没用strcat,用的gets和puts, 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>void lianj(char f1[],char f2[]){ int k,i,p; …… 题解列表 2024年11月15日 0 点赞 0 评论 200 浏览 评分:9.9
[编程入门]自定义函数之字符串连接 两行搞定! 摘要:解题思路:注意事项: 哈哈哈哈哈哈,没骗你吧参考代码:#include"bits/stdc++.h" using namespace std;int main(){st…… 题解列表 2024年12月06日 3 点赞 2 评论 365 浏览 评分:10.0
数组实现字符串连接 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char a[100],b…… 题解列表 2025年01月24日 5 点赞 0 评论 480 浏览 评分:10.0
在函数内直接相加实现拼接 摘要:解题思路:先定义两个字符串类型的变量依次输入,然后调用函数,在函数内通过相加实现字符串的拼接注意事项:参考代码:#include<bits/stdc++.h>using namespace…… 题解列表 2025年04月09日 1 点赞 0 评论 57 浏览 评分:10.0