自定义函数之字符串连接 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){char a[1000],b[100];gets(a);gets(b);put…… 题解列表 2022年05月24日 0 点赞 0 评论 475 浏览 评分:0.0
strlen的灵活运用 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ int i,n,m; char a[20],b[20]; …… 题解列表 2022年06月20日 0 点赞 0 评论 537 浏览 评分:0.0
题解 1032: [编程入门]自定义函数之字符串连接(C语言) 摘要:加油,今天又是摆烂的一天!!参考代码(偷懒摆烂版本):#include<stdio.h> int main() { char a[100]; gets(a); cha…… 题解列表 2022年07月26日 0 点赞 0 评论 500 浏览 评分:0.0
编写题解 1032: [编程入门]自定义函数之字符串连接 摘要:解题思路:用strcat()函数注意事项:参考代码:#include <stdio.h> #include <string.h> int main() { char a[100…… 题解列表 2022年08月09日 0 点赞 0 评论 555 浏览 评分:0.0
编写题解 1032: [编程入门]自定义函数之字符串连接 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>#include <string.h>void fcn(char *arr1, char *ar…… 题解列表 2022年09月05日 0 点赞 0 评论 499 浏览 评分:0.0
自定义函数之字符串连接(c语言)(指针) #自定义函数之字符串连接```c#define_CRT_SECURE_NO_WARNINGS1#include#includevoidAdd(char*test,char*str2,intconstlen1){char*p=test+len1;for(;*p=*str2++;p++)//*p=='\0 题解列表 2022年09月10日 0 点赞 0 评论 624 浏览 评分:0.0
1032: [编程入门]自定义函数之字符串连接 (三行代码解决) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ string a,b; cin>>a>>b; cout<<a<<b;}…… 题解列表 2022年09月17日 0 点赞 0 评论 464 浏览 评分:0.0
1033-自定义函数之字符串连接 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<string>using namespace std;string con(string s1,string s2)…… 题解列表 2022年10月05日 0 点赞 0 评论 614 浏览 评分:0.0
1032: [编程入门]自定义函数之字符串连接 摘要:解题思路:注意事项:参考代码:#include <iostream> #include <string> using namespace std; int main() { stri…… 题解列表 2022年10月11日 0 点赞 0 评论 476 浏览 评分:0.0
自定义函数之字符串连接 摘要: #include using namespace std; void fun(string s1, string s2) { cout s1 >> …… 题解列表 2022年10月11日 0 点赞 0 评论 465 浏览 评分:0.0