1032: [编程入门]自定义函数之字符串连接 摘要:```cpp #include int main() { char s[1000],t[1000]; gets(s); int len1=strlen(s); gets(t); …… 题解列表 2022年12月06日 0 点赞 0 评论 728 浏览 评分:7.3
C语言 自定义函数之字符串连接& 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>#define Long 20int main(){ char a[Long]; …… 题解列表 2022年11月16日 0 点赞 0 评论 112 浏览 评分:0.0
自定义函数之字符串连接 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main { public static void main(String[] args) {…… 题解列表 2022年11月06日 0 点赞 0 评论 142 浏览 评分:0.0
自定义函数之字符串连接 摘要:解题思路:定义三个数组,两个数组存放输入的数组,最后一个数组存放最终的数组注意事项:利用string函数库中strlen函数计算出个数组中的元素个数参考代码:# include <stdio.h># …… 题解列表 2022年11月01日 0 点赞 1 评论 102 浏览 评分:0.0
引入第三个一维字符数组 摘要:解题思路: 引入第三个一维字符数组,把两个字符数组的值依次赋值给第三个数组。参考代码:#include<stdio.h> #include<string.h> voi…… 题解列表 2022年10月13日 0 点赞 1 评论 183 浏览 评分:6.0
自定义函数之字符串连接 摘要: #include using namespace std; void fun(string s1, string s2) { cout s1 >> …… 题解列表 2022年10月11日 0 点赞 0 评论 151 浏览 评分:0.0
1032: [编程入门]自定义函数之字符串连接 摘要:解题思路:注意事项:参考代码:#include <iostream> #include <string> using namespace std; int main() { stri…… 题解列表 2022年10月11日 0 点赞 0 评论 137 浏览 评分:0.0
1033-自定义函数之字符串连接 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<string>using namespace std;string con(string s1,string s2)…… 题解列表 2022年10月05日 0 点赞 0 评论 183 浏览 评分:0.0
1032: [编程入门]自定义函数之字符串连接 (三行代码解决) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ string a,b; cin>>a>>b; cout<<a<<b;}…… 题解列表 2022年09月17日 0 点赞 0 评论 117 浏览 评分:0.0
自定义函数之字符串连接(c语言)(指针) 摘要:# 自定义函数之字符串连接 ```c #define _CRT_SECURE_NO_WARNINGS 1 #include #include void Add(char* test…… 题解列表 2022年09月10日 0 点赞 0 评论 212 浏览 评分:0.0