[编程入门]自定义函数之字符串连接 摘要:解题思路:#include<stdio.h>#include<string.h>int main(){ char a[10]={'0'},b[10]={'0'};…… 题解列表 2023年03月01日 0 点赞 0 评论 75 浏览 评分:0.0
1032: [编程入门]自定义函数之字符串连接 摘要:解题思路: 创建并输入两个字符串,再创建一个字符数组。先将一个字符串内的元素依次放入数组中,再将另一个字符串的元素也依次放入即可。注意事项: 字符数组的末尾要添上'\0',…… 题解列表 2023年03月05日 0 点赞 0 评论 110 浏览 评分:0.0
超级简单的代码 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char a[100]={0};char b[100]={0}; gets(…… 题解列表 2023年03月15日 0 点赞 0 评论 110 浏览 评分:0.0
使用strcat字符串连接 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cstring>using namespace std;int main(){ char s[100]; …… 题解列表 2023年03月18日 0 点赞 0 评论 97 浏览 评分:0.0
字符串连接C语言 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include<string.h>int main(){ char a[100],b[100],c[200]; gets(a); g…… 题解列表 2023年03月21日 0 点赞 0 评论 127 浏览 评分:0.0
[编程入门]字符串连接 摘要:解题思路:将字符串输入后,使用puts()函数进行输出,在输出a后自动回车,得到结果不符;将字符串a单个输出后输出b注意事项:gets当遇到换行符\n或者EOF时停止参考代码:#include<std…… 题解列表 2023年05月04日 0 点赞 0 评论 115 浏览 评分:0.0
[编程入门]自定义函数之字符串连接 摘要:解题思路:直接相加即可注意事项:头文件#include#includeusing namespace std;void func(string n,string m){ cout<<n+m;}int…… 题解列表 2023年05月16日 0 点赞 0 评论 158 浏览 评分:0.0
1032题 : 自定义函数之字符串连接 摘要:# 自己写的代码 ```c #include #include int main() { char a[20]; char b[20]; gets(a); gets(b)…… 题解列表 2023年06月29日 0 点赞 0 评论 96 浏览 评分:0.0
自定义函数之字符串连接(指针) 摘要:解题思路: 解释就都在代码中了 参考代码: 未用指针版,容易理解些: ```c #include void m(char *a,char *b) { int i=0,k…… 题解列表 2023年08月16日 0 点赞 0 评论 255 浏览 评分:0.0
自定义函数之字符串连接java 摘要: import java.util.Scanner; public class Main { public static void main(String[] args) { S…… 题解列表 2023年09月13日 0 点赞 0 评论 231 浏览 评分:0.0