[编程入门]自定义函数之字符串连接-题解(C语言代码) 摘要:解题思路:注意事项:参考代码#include#includeint main(){ char a[100],b[100];//定义两个数组 gets(a);//输入第一个数组表示的字符 …… 题解列表 2020年11月17日 0 点赞 0 评论 963 浏览 评分:0.0
[编程入门]自定义函数之字符串连接-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>int main(){ char a[50]={0},b[50]={0}; scanf("%s%…… 题解列表 2020年11月07日 0 点赞 0 评论 526 浏览 评分:0.0
[编程入门]自定义函数之字符串连接-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char a[100],b[100],c[100]; int i…… 题解列表 2020年10月09日 0 点赞 0 评论 887 浏览 评分:0.0
[编程入门]自定义函数之字符串连接-题解(C语言代码) ```c#include#includeintmain(){chara[50],b[50];gets(a);gets(b);strcat(a,b);printf("%s",a);return0;}``` 题解列表 2020年09月14日 0 点赞 0 评论 1106 浏览 评分:6.0
[编程入门]自定义函数之字符串连接-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>int main(){ char a[1000]; gets(a); char b[1000]…… 题解列表 2020年08月09日 0 点赞 0 评论 733 浏览 评分:0.0
[编程入门]自定义函数之字符串连接-题解(C语言代码) 摘要:解题思路:!!!注意事项:!!!参考代码:!#include<stdio.h>#include<string.h>int ljc(char a[],char b[]){ int i=0,l1,l2; …… 题解列表 2020年07月25日 0 点赞 1 评论 746 浏览 评分:9.0
[编程入门]自定义函数之字符串连接-题解(C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<string.h>using namespace std;void Link(char *a0,char *b0){…… 题解列表 2020年07月23日 0 点赞 0 评论 784 浏览 评分:0.0
[编程入门]自定义函数之字符串连接-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>int main(){ char str1[100]={0},str2[50]={0}; get…… 题解列表 2020年07月21日 0 点赞 0 评论 716 浏览 评分:0.0
[编程入门]自定义函数之字符串连接-题解(C语言代码)S ###题目要求写一函数,将两个字符串连接###解题思路将两个字符串用gets存入两个数组,用strlen函数得到字符串长度,再将其中一个字符串存入另一个字符串所在数组后面完成连接###参考代码```c#include#includeintmain(){voidcon(char*a, 题解列表 2020年07月02日 0 点赞 0 评论 880 浏览 评分:0.0
[编程入门]自定义函数之字符串连接-题解(Python代码) a=str(input())b=str(input())print(a+b)Thisismycode.Iseasy.Thestringcanplus. 题解列表 2020年06月20日 0 点赞 0 评论 915 浏览 评分:0.0