c++同时处理大小写
摘要:解题思路:利用switch处理注意事项:参考代码:#include<iostream>#include<string>using namespace std;int main(){ char ch[1……
自定义函数之字符串提取-详细明白
摘要:参考代码:# include <stdio.h># include <string.h>int f(char str1[], char str2[]){ int i, len, j = 0; ……
自定义函数之字符提取
摘要:解题思路:需要数组进行存储,若遇到元音字母即可输入该数组注意事项:参考代码:#include <stdio.h>void f(char *a,char*b);int main(){ char a[10……
利用循环查找元音字母
摘要:解题思路:
定义2个字符数组,利用循环在字符数组里查找元音字母,如找到了则赋值给另外一个字符数组,然后输出。
```c
#include
int main() {
char a[100];……
1033: [编程入门]自定义函数之字符提取
摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>int main(){ char s[1000]; scanf("%s",s); int len=strlen(s),i; ……
自定义函数之字符提取(一通瞎写)
摘要:参考代码
#include
#include
#include
void copy(char* x)
{
int n;
get……
1033: [编程入门]自定义函数之字符提取
摘要:```cpp
#include
#include
#include
using namespace std;
/*
题目描述
写一函数,将一个字符串中的元音字母复制到另一个字符串,然后输……
用基本自定义函数的知识解决 编写题解 1033: [编程入门]自定义函数之字符提取
摘要:解题思路:遍历字符串数组,判断每一个字符是不是原因字母,如果是元音字母就赋值到一个新的字符数组当中。遍历完成之后,将新的字符串数组输出即可。注意事项:参考代码:#include<stdio.h>voi……