摘要: #include <stdio.h> #include <stdlib.h> #include <string.h> #include <time.h> #include <windows.h> #define N 100 void del_char(char a[],char c)//删除字符串中 阅读全文
posted @ 2021-09-17 13:05 myrj 阅读(234) 评论(0) 推荐(0) 编辑
摘要: char s[MAX] ={0}; //´æ·ÅÔ´×Ö´® char s1[MAX]={0}; //´æ·Å×Ó×Ö´® char s2[MAX]={0}; //´æ·ÅÌæ»»×Ö´® char result_a[2000] = {0};//´æ· 阅读全文
posted @ 2021-09-17 10:00 myrj 阅读(64) 评论(0) 推荐(0) 编辑
摘要: #include <stdio.h> //a查找范围 b查找目标 int fun(char *a,char *b) { int n=0; while(*a) { if(*a==*b) n++; a++; } return n; } int main() { char zf[]="我喜欢我我我我C语言 阅读全文
posted @ 2021-09-17 09:22 myrj 阅读(464) 评论(0) 推荐(0) 编辑
摘要: #include <stdio.h> #include <stdlib.h> #include <string.h> #include <time.h> #include <windows.h> #define N 100 int cishu(char *a,char *b) { int n=0; 阅读全文
posted @ 2021-09-17 07:21 myrj 阅读(782) 评论(0) 推荐(0) 编辑