编写题解 1032: [编程入门]自定义函数之字符串连接 摘要:解题思路:注意事项:scanf后面不加&符号参考代码:#include<stdio.h>#include<string.h>int main(){ &nbs…… 题解列表 2026年03月02日 0 点赞 0 评论 26 浏览 评分:0.0
字符串连接 摘要:解题思路:注意事项:连接的时候可以用数组形式赋值也可以用指针形式赋值,但是其实最后可以加一个长度限制的判断参考代码:#include <stdio.h>#include <strin…… 题解列表 2025年10月29日 1 点赞 0 评论 450 浏览 评分:10.0
编写题解 1032: [编程入门]自定义函数之字符串连接 摘要: #include #include #include #include #include using namespace std;…… 题解列表 2025年04月03日 0 点赞 0 评论 657 浏览 评分:0.0
数组实现字符串连接 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char a[100],b…… 题解列表 2025年01月24日 6 点赞 0 评论 1118 浏览 评分:10.0
利用数组遍历来实现连接 摘要:#include<stdio.h>int main(){ char a[1000],b[19999]; int i,j=0; &…… 题解列表 2025年01月04日 1 点赞 0 评论 500 浏览 评分:0.0
自定义函数之字符串连接 摘要:#include<stdio.h> int main(void) { char a[100]; char b[100]; char temp[100]; i…… 题解列表 2024年12月28日 0 点赞 0 评论 585 浏览 评分:0.0
简单易想到 摘要:解题思路:进行字符串拼接注意事项:参考代码:#include<stdio.h>#include<string.h>void fun(char*a,char*b){ char c[100]; int i…… 题解列表 2024年12月17日 1 点赞 0 评论 609 浏览 评分:0.0
最普通的解题方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ char a[150]; char b[51]; gets(a); gets(b); …… 题解列表 2024年11月20日 1 点赞 0 评论 608 浏览 评分:0.0
没用strcat,用的gets和puts, 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>void lianj(char f1[],char f2[]){ int k,i,p; …… 题解列表 2024年11月15日 0 点赞 0 评论 405 浏览 评分:9.9
可以判断空格不输出 摘要:解题思路:注意事项:参考代码:#include<string.h>int main(){ int i,a,b; char str1[100],str2[100]; gets(str1); get…… 题解列表 2024年10月18日 0 点赞 0 评论 415 浏览 评分:9.9