C++字符串连接 摘要:# string ```c++ #include using namespace std; int main() { string a,b; while(cin>…… 题解列表 2023年06月08日 0 点赞 0 评论 586 浏览 评分:0.0
871da84df5s6af4ads\ 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ string a,b; while(cin>>a>>b) {…… 题解列表 2022年08月10日 0 点赞 0 评论 525 浏览 评分:0.0
简单实现字符串连接 摘要:解题思路:个人思路比较简单(可能我比较菜)注意事项:每完成一次连接,最后一个字符要变成'\0'参考代码:#include<stdio.h>#include<string.h>conne…… 题解列表 2022年02月20日 0 点赞 0 评论 878 浏览 评分:9.9
字符串连接-题解(C语言代码) 思路:接收两个字符串,输出两个字符串(非真正连接,仅在输出时两个字符串一起输出)参考代码:```#includeintmain(){chara[100]={'0'},b[100]={'0'};while(scanf("%s%s",a,b)==2){printf("%s%s\n", 题解列表 2020年02月19日 0 点赞 0 评论 818 浏览 评分:0.0
字符串连接-题解(C语言代码) 摘要:小白成长之路之简单粗暴解题 ```c # include int main() { int a[100],b[100]; while(scanf("%s%s",&a,&b)!=EOF)…… 题解列表 2019年10月23日 0 点赞 1 评论 1351 浏览 评分:9.0
字符串连接-题解(C语言代码) 运用指针的方法 ```c运用指针//不借用任何字符串库函数实现无冗余地接受两个字符串,然后把它们无冗余的连接起来#includeintmain(void){charstring1[10000];charstring2[10000];while(scanf("%s%s", 题解列表 2019年08月12日 0 点赞 0 评论 1767 浏览 评分:9.9
字符串连接-题解(C语言代码) 摘要:#include int main() //直接输入输出就可以 { char a[110]; char b[110]; while(scanf("%s",a)&&scanf("…… 题解列表 2019年08月04日 0 点赞 0 评论 1022 浏览 评分:0.0
字符串连接 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ char a[100],b[100]; int i,j; while(scanf("%s %s",a,b)!=E…… 题解列表 2019年04月14日 0 点赞 0 评论 1367 浏览 评分:0.0
字符串连接 (C语言代码) 摘要:解题思路:哈哈哈哈看代码就完事了哈哈哈哈哈鹅鹅鹅饿注意事项:参考代码:#include<stdio.h>#define N 100int main(){ char a[N],b[N]; w…… 题解列表 2019年04月10日 2 点赞 0 评论 1403 浏览 评分:9.9
字符串连接 (C语言代码) 摘要:解题思路:没什么好说的,上代码注意事项:参考代码:#include<stdio.h>int main(){ char str1[110]; char str2[110]; wh…… 题解列表 2019年02月15日 4 点赞 4 评论 948 浏览 评分:9.7