登录
首页 » 界面开发 » 一种状态机的设计模式实现

一种状态机的设计模式实现

于 2023-08-28 发布 文件大小:4.60 kB
0 162
下载积分: 2 下载次数: 1

代码说明:

状态机模型在常用软件开发过程中都会遇到。本代码是模拟实现一种常用的状态机设计模式,实现不同状态下的数据变化和更新机制。该代码可以方便初学者学习并了解状态机的C++使用过程,由于本代码是demo版本,里面难免会出现错误,希望大家批评与指点。

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 这个是基于c++ builder 的编程的一些小程序,对于初学者很有用。...
    这个是基于c++ builder 的界面编程的一些小程序,对于初学者很有用。-This is based on c++ builder programming interface to a number of small programs, useful for beginners.
    2022-06-14 11:37:21下载
    积分:1
  • 你可能会对VC自带的时间及日期控件不太感兴趣了,那就试试这个吧!给你不一样的视觉感受....
    你可能会对VC自带的时间及日期控件不太感兴趣了,那就试试这个吧!给你不一样的视觉感受.-you may have to bring their own VC date and time controls were not interested. then try this! you do not feel the same vision.
    2022-01-25 17:40:14下载
    积分:1
  • 基本日志/租用/注册
    资源描述aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
    2022-08-08 02:10:19下载
    积分:1
  • victory Quaternary; Frank will Sadiq chain; Thinking that will relay; Quaternary...
    获得胜利第四纪;连锁店弗兰克萨迪克将; 思考题接力赛都将; 第四纪粪胆素;快的空间法;类毒素-victory Quaternary; Frank will Sadiq chain; Thinking that will relay; Quaternary fecal bile pigment; Fast space law; Toxoid
    2022-03-16 22:48:45下载
    积分:1
  • 一组asp环境下进行语音聊天的程旭,有asp代码和数据库文件组成...
    一组asp环境下进行语音聊天的程旭,有asp代码和数据库文件组成-a group asp environment for voice chat Cheng Xu, asp code and database files
    2022-12-26 13:30:05下载
    积分:1
  • 设有n个人站成一圈,每个人持有一个密码(正整数)。现从第t个人始,按顺时针方向“1,2,3,4,…”循环报数,数到m1(第t个人所持密码)的人出列,然后从出列...
    设有n个人站成一圈,每个人持有一个密码(正整数)。现从第t个人开始,按顺时针方向“1,2,3,4,…”循环报数,数到m1(第t个人所持密码)的人出列,然后从出列者的下一个人重新开始报数,数到m2(刚出列者所持密码)的人又出列,如此重复进行,直到n个人都出列为止。 问题是:对于任意给定的n个人的原始排列顺序,求出n个人的出列顺序。 输入数据从文本文件“实习1数据.txt”中读取。该文件有两行:第1行只有一个整数,表示报数的起始位置;第2行是n个所持密码。 输出结果显示在屏幕上。 -Joseph issues
    2023-03-11 02:35:04下载
    积分:1
  • web应用程序的组件,能结合struts框架快速出多个层次的动态树。...
    开发web应用程序的组件,能结合struts框架快速开发出多个层次的动态树。-development of the web application components, in conjunction with struts framework of the rapid development of many kinds of dynamic tree.
    2022-02-03 23:41:13下载
    积分:1
  • VLC player application
    应用背景基于VLC2.15的播放库,写的一个DEMO,VLC是个强大的播放器,支持众多音频与视频解码器及文件格式,并支持DVD影音光盘,VCD影音光盘及各类流式协议,它也能作为unicast或 multicast的流式服务器在IPv4或 IPv6的高速网络连接下使用。它融合了FFmpeg计划的解码器与libdvdcss程序库使其有播放多媒体文件及加密DVD影碟的功能。关键技术 1.支持音视频文件播放; 2.支持UDPRTSP网络协议流媒体直播; 3.采用MFC框架编写的,简单易懂; 4.可以通过参数设置调用VLC 硬件加速、网络缓存、解码方式、推送方式等。 5.可以进行轮巡播放,不停切换视频源。
    2022-08-10 10:48:40下载
    积分:1
  • 三维饼图IntroductionHi all!! Well I have been looking for a pie control that would u...
    三维饼图IntroductionHi all!! Well I have been looking for a pie control that would use the skin images instead ofsimple colors and just could not find that. And I struggled quit a lot to make it but ..:( anywayso found out another solution that is 3D pie control that could satisfy my needs. I got itdeveloped with one of my bright colleagues, Amit Ganguly, who is a fresh engineer and strongwith mathematics. So guys just download it, use it, and let me know your comments/-3D pie IntroductionHi all! ! Well I have been looking for a pie that would control the use images instead ofsimple skin colors and just could not find that. And I struggled quit a lot to make it but .. : (anywayso found out another 3D solution that is pie control that could satisfy my needs. I got itdeveloped with one of my bright colleagues, Amit Ganguly, who is a fresh engineer and strongwith mathematics. So guys just download it, use it, and let me know your comments /
    2022-08-02 18:11:26下载
    积分:1
  • achieve Outlook toolbar rolling effect
    实现OutLook滚动工具栏效果-achieve Outlook toolbar rolling effect
    2022-08-16 10:35:31下载
    积分:1
  • 696516资源总数
  • 106562会员总数
  • 4今日下载