c++同时处理大小写 摘要:解题思路:利用switch处理注意事项:参考代码:#include<iostream>#include<string>using namespace std;int main(){ char ch[1…… 题解列表 2022年11月17日 0 点赞 0 评论 244 浏览 评分:9.9
自定义函数之字符串提取-详细明白 摘要:参考代码:# include <stdio.h># include <string.h>int f(char str1[], char str2[]){ int i, len, j = 0; …… 题解列表 2022年11月22日 0 点赞 0 评论 167 浏览 评分:9.9
自定义函数之字符提取 摘要:解题思路:需要数组进行存储,若遇到元音字母即可输入该数组注意事项:参考代码:#include <stdio.h>void f(char *a,char*b);int main(){ char a[10…… 题解列表 2022年11月27日 0 点赞 0 评论 354 浏览 评分:9.9
利用循环查找元音字母 摘要:解题思路: 定义2个字符数组,利用循环在字符数组里查找元音字母,如找到了则赋值给另外一个字符数组,然后输出。 ```c #include int main() { char a[100];…… 题解列表 2022年11月27日 0 点赞 0 评论 191 浏览 评分:9.9
1033: [编程入门]自定义函数之字符提取 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>int main(){ char s[1000]; scanf("%s",s); int len=strlen(s),i; …… 题解列表 2022年12月05日 0 点赞 0 评论 134 浏览 评分:9.9
自定义函数之字符提取(一通瞎写) 摘要:参考代码 #include #include #include void copy(char* x) { int n; get…… 题解列表 2022年12月27日 0 点赞 0 评论 188 浏览 评分:9.9
1033: [编程入门]自定义函数之字符提取 摘要:```cpp #include #include #include using namespace std; /* 题目描述 写一函数,将一个字符串中的元音字母复制到另一个字符串,然后输…… 题解列表 2023年02月20日 0 点赞 1 评论 235 浏览 评分:9.9
炒鸡简单(易懂) 摘要:解题思路:定义另一个数组来存放该数组的元音并输出注意事项:参考代码:#include<stdio.h>void line(char a[100]){ char b[100]; int i,…… 题解列表 2023年06月02日 0 点赞 0 评论 178 浏览 评分:9.9
用基本自定义函数的知识解决 编写题解 1033: [编程入门]自定义函数之字符提取 摘要:解题思路:遍历字符串数组,判断每一个字符是不是原因字母,如果是元音字母就赋值到一个新的字符数组当中。遍历完成之后,将新的字符串数组输出即可。注意事项:参考代码:#include<stdio.h>voi…… 题解列表 2023年07月12日 0 点赞 0 评论 168 浏览 评分:9.9
自定义函数之字符提取,很完全 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>void Vowel(char str[]){ int i = 0, j = 0; ch…… 题解列表 2023年07月23日 0 点赞 0 评论 150 浏览 评分:9.9