编写题解 1032: [编程入门]自定义函数之字符串连接--字符串连接函数(strcat) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>void strCat(char str1[],char str2[]){ printf("%…… 题解列表 2022年03月08日 0 点赞 0 评论 259 浏览 评分:0.0
编写题解 1032: [编程入门]自定义函数之字符串连接--神奇的是这种方法内存还小 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>void strCat(char str1[],char str2[]){ for(int i…… 题解列表 2022年03月08日 0 点赞 0 评论 141 浏览 评分:0.0
啊哈哈哈,link来啦 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>//写一函数,将两个字符串连接char* link (char*,const char*);in…… 题解列表 2022年03月28日 0 点赞 0 评论 133 浏览 评分:0.0
新手,感兴趣来看看 摘要:解题思路:注意事项:参考代码:#include<stdio.h>void link(char a[],char b[]);int main(){ char a[100]; char b[10…… 题解列表 2022年03月28日 0 点赞 0 评论 137 浏览 评分:0.0
1032: [编程入门]自定义函数之字符串连接 摘要:解题思路:注意事项:参考代码:n = input(str())m = input(str())for i in n[::]: print(i,end = '')for j in …… 题解列表 2022年04月07日 0 点赞 0 评论 272 浏览 评分:0.0
[编程入门]自定义函数之字符串连接 摘要:解题思路:我直接打印出来的,哈哈哈,没想到吧注意事项:参考代码:#include<bits/stdc++.h> using namespace std; int main() { strin…… 题解列表 2022年04月10日 0 点赞 0 评论 196 浏览 评分: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
根据题意来定义函数连接字符串 摘要:解题思路:注意事项:参考代码:def connect(a,b): return a+bdef main(): a=input() b=input() print(connect…… 题解列表 2022年04月26日 0 点赞 0 评论 156 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.6 (C语言代码) 摘要:解题思路:用指针来做会好做一些,指针加几就是往后移几个输入字符串的话,我倾向于用gets和puts再用strlen来计算字符串的长度再结合指针第一次写,不足之处还希望大家指出。注意事项:参考代码:#i…… 题解列表 2022年04月29日 0 点赞 0 评论 193 浏览 评分: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