自定义函数之字符串连接 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){char a[1000],b[100];gets(a);gets(b);put…… 题解列表 2022年05月24日 0 点赞 0 评论 174 浏览 评分:0.0
编写题解 1032: [编程入门]自定义函数之字符串连接(c++) 摘要:解题思路:定义两个字符串,再分别输出注意事项:不要换行!不要换行!不要换行!参考代码:#include<iostream>using namespace std;int main(){ stri…… 题解列表 2022年05月23日 0 点赞 0 评论 202 浏览 评分:6.0
看到题解有好多朋友不是用的自定义函数,所以搞了一个 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>void lianjie(char *a,char *b);int main(){ char a…… 题解列表 2022年05月19日 0 点赞 0 评论 144 浏览 评分:0.0
自定义函数之字符串连接 题解(超简单)(c++) 摘要:解题思路:就不是直接输出两个字符串嘛!套个字符串。注意事项:无。参考代码:#include<bits/stdc++.h>using namespace std;string a,b;void zh(s…… 题解列表 2022年05月09日 0 点赞 0 评论 250 浏览 评分:0.0
小白数组思想c语言代码 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#define N 100void oppo(char sz1[],char sz2[]){ int m,n,i; m=strlen(…… 题解列表 2022年05月07日 0 点赞 0 评论 131 浏览 评分:0.0
[编程入门]自定义函数之字符串连接 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int T(){ char a[10],b[10]; gets(a); gets…… 题解列表 2022年05月06日 0 点赞 0 评论 134 浏览 评分:0.0
[编程入门]自定义函数之字符串连接 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;string s,b;int main(){ cin>>s>>b; cout<…… 题解列表 2022年05月06日 0 点赞 0 评论 212 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.6 (C语言代码) 摘要:解题思路:用指针来做会好做一些,指针加几就是往后移几个输入字符串的话,我倾向于用gets和puts再用strlen来计算字符串的长度再结合指针第一次写,不足之处还希望大家指出。注意事项:参考代码:#i…… 题解列表 2022年04月29日 0 点赞 0 评论 192 浏览 评分:0.0
根据题意来定义函数连接字符串 摘要:解题思路:注意事项:参考代码:def connect(a,b): return a+bdef main(): a=input() b=input() print(connect…… 题解列表 2022年04月26日 0 点赞 0 评论 156 浏览 评分:0.0
字符串连接 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){char a[1000],b[100];gets(a);gets(b);put…… 题解列表 2022年04月26日 0 点赞 0 评论 184 浏览 评分:0.0