笔记
文章平均质量分 55
qq_45656196
这个作者很懒,什么都没留下…
展开
-
2021-11-06
跳动的字符//Windows编程 // 跳动的字符.cpp : Defines the entry point for the application. // #include “stdafx.h” #include “resource.h” #define MAX_LOADSTRING 100 // Global Variables: HINSTANCE hInst; // current instance TCHAR szTitle[MAX_LOADSTRING]; // T原创 2021-11-06 18:55:58 · 172 阅读 · 0 评论 -
2021-11-05
识别(a|b)*b的C语言和C++代码实现 #include"stdio.h" #include"string.h" int fun() { char s[100]; scanf("%s",s); int len=strlen(s); for(int i=0;i<len;i++) { if(len-1==i) { switch(s[i]) { case’b’: break; default: return false; } } else{ switch(s[i]) { case ‘a’: break;原创 2021-11-05 16:51:53 · 500 阅读 · 0 评论