[编程入门]自定义函数之字符提取 摘要:参考代码:#include<iostream>#include<cstring>using namespace std;int main(){ char in[1000],out[1000]="…… 题解列表 2022年08月05日 0 点赞 0 评论 231 浏览 评分:9.9
题解 1033: [编程入门]自定义函数之字符提取 摘要:解题思路:注意事项:参考代码:int main(){ char a[100], b[100]; int l, i, j=0; gets(a); l = strlen(a); …… 题解列表 2022年07月25日 0 点赞 0 评论 109 浏览 评分:0.0
1033: [编程入门]自定义函数之字符提取 摘要:解题思路:c语言来中的字符串实际上是字符数组注意事项:输出字符串中单个字符两种方式。chars[]="abcde"; printf("%c",s[3]);char *p=s; //字符字符指针p…… 题解列表 2022年07月22日 0 点赞 0 评论 129 浏览 评分:0.0
自定义函数之字符提取((C语言) 摘要: #include void aa(char a[25]); int main() { char a[25]; …… 题解列表 2022年07月17日 0 点赞 0 评论 314 浏览 评分:0.0
优质题解 1033: [编程入门]自定义函数之字符提取(string) 摘要:解题思路:stl里面的string类提供了查找函数find 我们只需要建立一个元音字母表,然后在表内查询就可以了。参考代码:#include <bits/stdc++.h> #define ll…… 题解列表 2022年07月08日 0 点赞 5 评论 5350 浏览 评分:9.9
1033: [编程入门]自定义函数之字符提取 摘要:解题思路: 查到“a,e,i,o,u”就输出注意事项: 无参考代码:#include <iostream> #include <cstring> using namespace std; int…… 题解列表 2022年07月07日 0 点赞 0 评论 200 浏览 评分:9.0
编写题解 1033: [编程入门]自定义函数之字符提取 摘要:解题思路:将字符串输入数组-->遍历数组-->找到是元音的字母,并赋值给新的数组-->输出新数组参考代码:#include<stdio.h> #include<string.h> int main…… 题解列表 2022年06月30日 0 点赞 0 评论 139 浏览 评分:0.0
暴力开解字符串,不用函数 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ int i,n; char a[20]; gets(a);…… 题解列表 2022年06月20日 0 点赞 0 评论 268 浏览 评分:9.9
简单便于理解的逻辑——C语言 摘要:解题思路: 申请一个字符数组,之后用gets接收输入的字符; 撰写函数时输入指针会方便很多,然后写一个循环,不必 题解列表 2022年06月17日 0 点赞 0 评论 136 浏览 评分:0.0
1033: [编程入门]自定义函数之字符提取 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { char ch; while((ch=getchar())!=EOF){ if(ch==&#…… 题解列表 2022年06月13日 0 点赞 0 评论 134 浏览 评分:0.0