[编程入门]自定义函数之字符串连接 (Java描述) 摘要: import java.util.Scanner; public class Main { public static void main(Strin…… 题解列表 2020年04月28日 0 点赞 0 评论 635 浏览 评分:6.0
[编程入门]自定义函数之字符串连接-题解(C语言代码) 摘要:```c #include #include int main() { char a[50], b[50]; gets(a); gets(b); str…… 题解列表 2020年09月14日 0 点赞 0 评论 629 浏览 评分:6.0
[编程入门]自定义函数之字符串连接-题解(C语言代码) 思路简单易懂! 摘要:解题思路:注意定义字符串函数的头文件。注意事项:参考代码:#include <stdio.h>#include <string.h>int main(){ char a[100]; char b[10…… 题解列表 2020年11月27日 0 点赞 0 评论 1043 浏览 评分:6.0
[编程入门]自定义函数之字符串连接-Java 摘要:解题思路:纯属自我记录................注意事项:参考代码:Scanner in = new Scanner(System.in); String a = in.nextLine();…… 题解列表 2021年05月17日 0 点赞 0 评论 605 浏览 评分:6.0
[编程入门]自定义函数之字符串连接-调用函数 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<string.h> void fun(char a[],char b[],char c[],int lena,i…… 题解列表 2021年09月23日 0 点赞 0 评论 280 浏览 评分:6.0
编写题解 1032: [编程入门]自定义函数之字符串连接(c++) 摘要:解题思路:定义两个字符串,再分别输出注意事项:不要换行!不要换行!不要换行!参考代码:#include<iostream>using namespace std;int main(){ stri…… 题解列表 2022年05月23日 0 点赞 0 评论 202 浏览 评分:6.0
[编程入门]自定义函数之字符串连接 摘要:解题思路:连接两个字符串,需要灵活运用C语言中C函数库中提供的处理字符串的函数,利用gets(str)来获取字符串,然后用strcat连接两个字符串。参考代码:#include<stdio.h>voi…… 题解列表 2022年06月11日 0 点赞 0 评论 254 浏览 评分:6.0
引入第三个一维字符数组 摘要:解题思路: 引入第三个一维字符数组,把两个字符数组的值依次赋值给第三个数组。参考代码:#include<stdio.h> #include<string.h> voi…… 题解列表 2022年10月13日 0 点赞 1 评论 183 浏览 评分:6.0
字符串连接 摘要:```cpp #include using namespace std; int main() { string s,t; getline(cin,s); getline(…… 题解列表 2023年09月18日 0 点赞 0 评论 189 浏览 评分:6.0
C语言程序设计教程(第三版)课后习题8.6 (C++代码)不是所有的时候都要按照题目要求才能AC 摘要:解题思路:不是所有的时候都要按照题目要求才能AC直接连续输出不就OK了么。。。。注意事项:中间不要回车换行符“\n”参考代码:#include<stdio.h> int main() { …… 题解列表 2017年07月28日 16 点赞 7 评论 1493 浏览 评分:2.0