虚晃一枪-《我还是用了这个函数》 摘要:解题思路:注意事项:参考代码:#pragma warning(disable : 4996) #include<stdio.h> #include<string.h> void my_strca…… 题解列表 2022年12月14日 0 点赞 0 评论 176 浏览 评分:0.0
1032: [编程入门]自定义函数之字符串连接 摘要:```cpp #include int main() { char s[1000],t[1000]; gets(s); int len1=strlen(s); gets(t);…… 题解列表 2022年12月06日 0 点赞 0 评论 787 浏览 评分:7.3
C语言 自定义函数之字符串连接& 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>#define Long 20int main(){ char a[Long]; …… 题解列表 2022年11月16日 0 点赞 0 评论 157 浏览 评分:0.0
自定义函数之字符串连接 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main { public static void main(String[] args) {…… 题解列表 2022年11月06日 0 点赞 0 评论 190 浏览 评分:0.0
自定义函数之字符串连接 摘要:解题思路:定义三个数组,两个数组存放输入的数组,最后一个数组存放最终的数组注意事项:利用string函数库中strlen函数计算出个数组中的元素个数参考代码:# include <stdio.h># …… 题解列表 2022年11月01日 0 点赞 1 评论 154 浏览 评分:0.0
引入第三个一维字符数组 摘要:解题思路: 引入第三个一维字符数组,把两个字符数组的值依次赋值给第三个数组。参考代码:#include<stdio.h> #include<string.h> voi…… 题解列表 2022年10月13日 0 点赞 1 评论 223 浏览 评分:6.0
自定义函数之字符串连接 摘要: #include using namespace std; void fun(string s1, string s2) { cout s1 >> …… 题解列表 2022年10月11日 0 点赞 0 评论 209 浏览 评分:0.0
1032: [编程入门]自定义函数之字符串连接 摘要:解题思路:注意事项:参考代码:#include <iostream> #include <string> using namespace std; int main() { stri…… 题解列表 2022年10月11日 0 点赞 0 评论 198 浏览 评分:0.0
1033-自定义函数之字符串连接 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<string>using namespace std;string con(string s1,string s2)…… 题解列表 2022年10月05日 0 点赞 0 评论 263 浏览 评分:0.0
1032: [编程入门]自定义函数之字符串连接 (三行代码解决) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ string a,b; cin>>a>>b; cout<<a<<b;}…… 题解列表 2022年09月17日 0 点赞 0 评论 159 浏览 评分:0.0