简单易懂...... 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<string>using namespace std;int main(){ string a,b; c…… 题解列表 2021年05月16日 0 点赞 0 评论 237 浏览 评分:0.0
[编程入门]自定义函数之字符串连接-题解(C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<string.h>using namespace std;void Link(char *a0,char *b0){…… 题解列表 2020年07月23日 0 点赞 0 评论 289 浏览 评分:0.0
[编程入门]自定义函数之字符串连接-题解(C++代码) 摘要:```cpp #include #include using namespace std; int main() { string str1, str2; getli…… 题解列表 2020年04月14日 0 点赞 0 评论 989 浏览 评分:9.5
[编程入门]自定义函数之字符串连接-题解(C++代码) 摘要: #include using namespace std; int main() { char c1[100]; char c2[1…… 题解列表 2020年01月30日 0 点赞 0 评论 386 浏览 评分:0.0
[编程入门]自定义函数之字符串连接-题解(C++代码) 摘要:使用gets()输入两个字符串,输出时分别输出中间不加空格或者回车就好了 ```cpp #include using namespace std; int main() { char a…… 题解列表 2020年01月19日 0 点赞 0 评论 416 浏览 评分:0.0
[编程入门]自定义函数之字符串连接-题解(C++代码) 摘要:直接使用c++中+号连接即可 #include #include using namespace std; void link(string a,string b) { a=a+b; …… 题解列表 2019年12月29日 0 点赞 0 评论 619 浏览 评分:0.0
[编程入门]自定义函数之字符串连接 (C++代码)用C++的输入输出就行 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){char a[999],b[999];while(cin>>a>>b)c…… 题解列表 2019年05月24日 0 点赞 0 评论 501 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.6 (C++代码) 摘要:解题思路: C++ STL string字符串类型注意事项:参考代码:#include <iostream> #include <string> using namesp…… 题解列表 2018年12月20日 2 点赞 0 评论 1097 浏览 评分:9.0
C语言程序设计教程(第三版)课后习题8.6 (最简单的代码,没有之一)(C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ char a[1000],b[1000]; cin>>a>>b; co…… 题解列表 2018年10月03日 0 点赞 0 评论 1003 浏览 评分:8.0
C语言程序设计教程(第三版)课后习题8.6 (C++代码) 摘要:解题思路:创建两个char数组, 再创建两个char指针指向两个数组。写一函数,参数是两个char 指针, 然后用while循环把被连接的数组的指针移到结束符,‘\0’; 再然后用while循环…… 题解列表 2018年08月08日 0 点赞 0 评论 712 浏览 评分:0.0