利用数组遍历来实现连接 摘要:#include<stdio.h>int main(){ char a[1000],b[19999]; int i,j=0; &…… 题解列表 2025年01月04日 1 点赞 0 评论 627 浏览 评分:0.0
常规解法---------------------------------------------------------- 摘要:解题思路:注意事项:参考代码:#include<iostream>#include <cstring>using namespace std;const int N = 101…… 题解列表 2025年03月17日 0 点赞 0 评论 594 浏览 评分:0.0
编写题解 1032: [编程入门]自定义函数之字符串连接 摘要: #include #include #include #include #include using namespace std;…… 题解列表 2025年04月03日 0 点赞 0 评论 808 浏览 评分:0.0
编写题解 1032: [编程入门]自定义函数之字符串连接 摘要:解题思路:注意事项:scanf后面不加&符号参考代码:#include<stdio.h>#include<string.h>int main(){ &nbs…… 题解列表 2026年03月02日 2 点赞 0 评论 285 浏览 评分:0.0
存储输入法 摘要:解题思路:用一个函数来作为输出字符串的作用注意事项:参考代码:#include <stdio.h>#include <string.h>void str3(char str[1…… 题解列表 2026年04月02日 0 点赞 0 评论 170 浏览 评分:0.0
111无需多言 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>int main() { char s1[20…… 题解列表 2026年04月14日 0 点赞 0 评论 237 浏览 评分:0.0
用字符串函数处理字符串问题 摘要:解题思路:在string.h中,提供了拼接两段字符串的函数strcat,使用它可以简便处理两段字符串的拼接注意事项:参考代码:#include <stdio.h>#include <…… 题解列表 2026年07月19日 0 点赞 0 评论 55 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.6 (C++代码)不是所有的时候都要按照题目要求才能AC 摘要:解题思路:不是所有的时候都要按照题目要求才能AC直接连续输出不就OK了么。。。。注意事项:中间不要回车换行符“\n”参考代码:#include<stdio.h> int main() { …… 题解列表 2017年07月28日 16 点赞 7 评论 1840 浏览 评分:2.0
[编程入门]自定义函数之字符串连接-题解(Python代码) python 摘要:```python a=input()#输入数据 b=input()#输入数据 print(a+b)#python 中 + 好可以 连接字符串(/滑稽)emmmmmmmmmmmmmmmmmmm…… 题解列表 2019年11月21日 0 点赞 0 评论 1038 浏览 评分:2.0
[编程入门]自定义函数之字符串连接-题解(C语言代码) 摘要:#include #include int main(){ char str1[101]; char str2[100]; gets(str1); ge…… 题解列表 2020年05月27日 0 点赞 0 评论 727 浏览 评分:2.0