[编程入门]自定义函数之字符串连接 摘要:解题思路:这题是1032,除了最简单的strcat()使用外,我提供了一个与1031类似思路的解题方法,即用指针作为函数的返回值。注意事项:这个方法比较麻烦,本人是拿来对第1031题学到的知识进行巩固…… 题解列表 2023年01月10日 0 点赞 0 评论 429 浏览 评分:0.0
能跑就行.jpg 摘要:解题思路:序列具有相加的功能,这个相加同我们数字之间的相加类似,但序列支持将两个类型相同的序列加在一起,使用‘+’符号进行操作。注意事项:虽然能跑但不严谨参考代码:a=input()b=input()…… 题解列表 2023年01月08日 0 点赞 0 评论 562 浏览 评分:9.9
c语言字符串拼接 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char str1[101]={0}; char str2[50…… 题解列表 2023年01月07日 0 点赞 0 评论 670 浏览 评分:9.9
1032: [编程入门]自定义函数之字符串连接 (c++) 摘要:解题思路: 定义两个string变量 再cout输出就行了注意事项: 很暴力很暴力参考代码:#include<iostream> #include<string> using namespace …… 题解列表 2023年01月05日 0 点赞 1 评论 642 浏览 评分:8.7
自定义函数之字符串连接(C语言) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<assert.h> char* my_strcat(char* dest, char* src) { …… 题解列表 2023年01月05日 0 点赞 0 评论 536 浏览 评分:0.0
自定义函数之字符串连接 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){char str1[10],str2[10];scanf("%s",str1);scanf("%s",str2);…… 题解列表 2022年12月21日 0 点赞 0 评论 590 浏览 评分:8.0
虚晃一枪-《我还是用了这个函数》 摘要:解题思路:注意事项:参考代码:#pragma warning(disable : 4996) #include<stdio.h> #include<string.h> void my_strca…… 题解列表 2022年12月14日 0 点赞 0 评论 408 浏览 评分: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 评论 992 浏览 评分:7.3
C语言 自定义函数之字符串连接& 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>#define Long 20int main(){ char a[Long]; …… 题解列表 2022年11月16日 0 点赞 0 评论 435 浏览 评分:0.0
自定义函数之字符串连接 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main { public static void main(String[] args) {…… 题解列表 2022年11月06日 0 点赞 0 评论 406 浏览 评分:0.0