[编程入门]自定义函数之字符串连接 摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <string.h> int main() { char a[1000],b[1000],c[200…… 题解列表 2024年04月25日 0 点赞 0 评论 341 浏览 评分:0.0
自定义函数之字符串连接-简短容易理解 摘要:解题思路:把一个字符串拼接到另一个字符串的末尾注意事项:strcat()函数可在C语言中用于字符串拼接,但如果第一个字符串的空间无法容纳第二个字符串,那么行为未定义,所以str1的长度要足够长。同时s…… 题解列表 2024年05月11日 0 点赞 0 评论 283 浏览 评分:0.0
1032字符串连接(strcat函数的使用) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>#include<stdlib.h>int main(){ char a[100],b[100]; …… 题解列表 2024年05月14日 0 点赞 0 评论 109 浏览 评分:0.0
自定义函数之字符串连接 摘要:解题思路:注意事项:参考代码:def lmjp(a,b): print(a+b)a = input()b = input()lmjp(a,b)…… 题解列表 2024年06月03日 0 点赞 0 评论 180 浏览 评分:0.0
编写题解 1032: [编程入门]自定义函数之字符串连接 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main(char c) {while((c=getchar())!= EOF){if(c != '\n'…… 题解列表 2024年06月11日 0 点赞 0 评论 446 浏览 评分:0.0
巧用string函数,轻松解决 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include <string.h>int main(){ char a[100]; char b[100]; scanf…… 题解列表 2024年09月10日 0 点赞 0 评论 334 浏览 评分:0.0
简单算法,易理解 摘要:解题思路:a和b分别接收字符串,用加号拼接注意事项:参考代码:a=input()b=input()print(a+b)…… 题解列表 2024年11月14日 0 点赞 0 评论 284 浏览 评分:0.0
最普通的解题方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ char a[150]; char b[51]; gets(a); gets(b); …… 题解列表 2024年11月20日 1 点赞 0 评论 424 浏览 评分:0.0
简单易想到 摘要:解题思路:进行字符串拼接注意事项:参考代码:#include<stdio.h>#include<string.h>void fun(char*a,char*b){ char c[100]; int i…… 题解列表 2024年12月17日 1 点赞 0 评论 414 浏览 评分:0.0
自定义函数之字符串连接 摘要:#include<stdio.h> int main(void) { char a[100]; char b[100]; char temp[100]; i…… 题解列表 2024年12月28日 0 点赞 0 评论 405 浏览 评分:0.0