[编程入门]自定义函数之字符提取 摘要:解题思路:可调用函数,也可以不调用函数注意事项:参考代码:1. #include <stdio.h> void fasan(char b) { if(b=='a'||b==&…… 题解列表 2022年10月03日 0 点赞 0 评论 305 浏览 评分:9.9
简单点--字符提取 摘要:解题思路:简单思路,没有用自定义注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char str[100]; gets(str); i…… 题解列表 2022年10月11日 0 点赞 0 评论 303 浏览 评分:9.9
c++同时处理大小写 摘要:解题思路:利用switch处理注意事项:参考代码:#include<iostream>#include<string>using namespace std;int main(){ char ch[1…… 题解列表 2022年11月17日 0 点赞 0 评论 383 浏览 评分:9.9
自定义函数之字符串提取-详细明白 摘要:参考代码:# include <stdio.h># include <string.h>int f(char str1[], char str2[]){ int i, len, j = 0; …… 题解列表 2022年11月22日 0 点赞 0 评论 294 浏览 评分:9.9
自定义函数之字符提取 摘要:解题思路:需要数组进行存储,若遇到元音字母即可输入该数组注意事项:参考代码:#include <stdio.h>void f(char *a,char*b);int main(){ char a[10…… 题解列表 2022年11月27日 0 点赞 0 评论 468 浏览 评分:9.9
利用循环查找元音字母 摘要:解题思路: 定义2个字符数组,利用循环在字符数组里查找元音字母,如找到了则赋值给另外一个字符数组,然后输出。 ```c #include int main() { char a[100];…… 题解列表 2022年11月27日 0 点赞 0 评论 325 浏览 评分: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 评论 241 浏览 评分:9.9
自定义函数之字符提取(一通瞎写) 摘要:参考代码 #include #include #include void copy(char* x) { int n; get…… 题解列表 2022年12月27日 0 点赞 0 评论 328 浏览 评分:9.9
1033: [编程入门]自定义函数之字符提取 摘要:```cpp #include #include #include using namespace std; /* 题目描述 写一函数,将一个字符串中的元音字母复制到另一个字符串,然后输…… 题解列表 2023年02月20日 0 点赞 1 评论 328 浏览 评分:9.9
炒鸡简单(易懂) 摘要:解题思路:定义另一个数组来存放该数组的元音并输出注意事项:参考代码:#include<stdio.h>void line(char a[100]){ char b[100]; int i,…… 题解列表 2023年06月02日 0 点赞 0 评论 309 浏览 评分:9.9