[编程入门]自定义函数之字符提取 摘要:解题思路:可调用函数,也可以不调用函数注意事项:参考代码:1. #include <stdio.h> void fasan(char b) { if(b=='a'||b==&…… 题解列表 2022年10月03日 0 点赞 0 评论 518 浏览 评分:9.9
简单点--字符提取 摘要:解题思路:简单思路,没有用自定义注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char str[100]; gets(str); i…… 题解列表 2022年10月11日 0 点赞 0 评论 508 浏览 评分:9.9
c++同时处理大小写 摘要:解题思路:利用switch处理注意事项:参考代码:#include<iostream>#include<string>using namespace std;int main(){ char ch[1…… 题解列表 2022年11月17日 0 点赞 0 评论 630 浏览 评分:9.9
自定义函数之字符串提取-详细明白 摘要:参考代码:# include <stdio.h># include <string.h>int f(char str1[], char str2[]){ int i, len, j = 0; …… 题解列表 2022年11月22日 0 点赞 0 评论 501 浏览 评分:9.9
自定义函数之字符提取 摘要:解题思路:需要数组进行存储,若遇到元音字母即可输入该数组注意事项:参考代码:#include <stdio.h>void f(char *a,char*b);int main(){ char a[10…… 题解列表 2022年11月27日 0 点赞 0 评论 679 浏览 评分:9.9
利用循环查找元音字母 解题思路:定义2个字符数组,利用循环在字符数组里查找元音字母,如找到了则赋值给另外一个字符数组,然后输出。```c#includeintmain(){chara[100];charb[100];scanf("%s",&a);//输入字符串给字符数组ainti, 题解列表 2022年11月27日 0 点赞 0 评论 532 浏览 评分: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 评论 453 浏览 评分:9.9
自定义函数之字符提取(一通瞎写) 参考代码#include#include#includevoidcopy(char*x){intn;gets(x);n=strlen(x);for(inti=0;i 题解列表 2022年12月27日 0 点赞 0 评论 537 浏览 评分:9.9 1033: [编程入门]自定义函数之字符提取 ```cpp#include#include#includeusingnamespacestd;/*题目描述写一函数,将一个字符串中的元音字母复制到另一个字符串,然后输出。输入格式一行字符串输出格式顺序输出其中的元音字母(aeiou)样例输入abcde样例输出ae*/stringFindVowel(s 题解列表 2023年02月20日 0 点赞 1 评论 491 浏览 评分:9.9 炒鸡简单(易懂) 摘要:解题思路:定义另一个数组来存放该数组的元音并输出注意事项:参考代码:#include<stdio.h>void line(char a[100]){ char b[100]; int i,…… 题解列表 2023年06月02日 0 点赞 0 评论 489 浏览 评分:9.9 « 12345678...3132 »
1033: [编程入门]自定义函数之字符提取 ```cpp#include#include#includeusingnamespacestd;/*题目描述写一函数,将一个字符串中的元音字母复制到另一个字符串,然后输出。输入格式一行字符串输出格式顺序输出其中的元音字母(aeiou)样例输入abcde样例输出ae*/stringFindVowel(s 题解列表 2023年02月20日 0 点赞 1 评论 491 浏览 评分:9.9
炒鸡简单(易懂) 摘要:解题思路:定义另一个数组来存放该数组的元音并输出注意事项:参考代码:#include<stdio.h>void line(char a[100]){ char b[100]; int i,…… 题解列表 2023年06月02日 0 点赞 0 评论 489 浏览 评分:9.9