登录
首页 » Windows开发 » 陈先生

陈先生

于 2022-05-29 发布 文件大小:203.35 kB
0 231
下载积分: 2 下载次数: 1

代码说明:

陈家骏《程序设计教程 用C++语言编程》部分习题源程序 以及复旦数学系程序设计课程两次补充作业源程序-Mr Chan

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

发表评论

0 个回复

  • 迷宫追寻小游戏 C++MFC
    应用背景 这个游戏为玩家控制红色方块,去吃掉棕色,绿色,蓝色的方块,一旦一个方块被吃,便会自动生成另一个相同颜色的方块。直到游戏时间结束为止。 程序函数功能: ondraw函数: 显示游戏界面(用画刷刷成白色),显示地图(黑色),显示食物0,1,2(分别为:棕色,绿色,蓝色),显示玩家(红色) 显示文字,时间,分数。 OnEraseBkgnd函数: 用来更新窗口背景,游戏以位图为窗口背景。 OnGameStart函数: 关联窗口菜单中的开始游戏。包括:     IniGame();(初始化游戏)     m_nGameStatus=1;(游戏状态1,开始)     SetTimer(1,100,NULL);(定时器0.1秒执行一次OnTime)     Invalidate();(转向OnDraw) IniGame函数: 初始化游戏,确定游戏显示位置,确定玩家初始位置,转向IniAim函数 IniAim函数: 初始化目标,这里的三个目标的位置为随机产生。 OnKeyDown函数: 监控设备按下的键,确定玩家移动方向。 ReDisPlay函数: 重画点所在的小方块。减少对Invalidate()的调用,使屏幕不太闪硕。 OmTimer函数: 完成时间的计算。 关键技术游戏中的人工智能: 棕色方块的移动算法为基本寻路算法—物体沿着墙走。 绿色方块的移动算法为基本的逃避算法—物体总会向玩家的反方向移动。 蓝色方块的移动算法为漫游算法—随机产生一个方向值,物体移动的方向不
    2022-03-23 18:25:51下载
    积分:1
  • The main application source code printf function and procedures address the acce...
    本源码主要应用PRINTF函数和程序地址的访问,属于C方面的高级编程-The main application source code printf function and procedures address the access, C side are high-level programming
    2022-01-25 20:53:55下载
    积分:1
  • 这是一个通过jatg线从PC机下载Fpga与cpu文件到设备的程序。下载的文件保存到串行128K的flash中。...
    这是一个通过jatg线从PC机下载Fpga与cpu文件到设备的程序。下载的文件保存到串行128K的flash中。-This is a line through jatg downloaded from the PC and cpu Fpga documents to the equipment. Download the file to the serial flash 128 K were.
    2022-01-24 08:47:34下载
    积分:1
  • 一个vb数组操作函数的类库
    一个vb数组操作函数的类库-an array manipulation functions of the library
    2022-02-24 10:14:35下载
    积分:1
  • book on the case, the University of the right to upload the learning needs of le...
    书上的例子,上传给大学右需要的学习学习,是本人学习过程中的作品-book on the case, the University of the right to upload the learning needs of learning, and I am learning process works
    2022-07-19 12:47:09下载
    积分:1
  • VC++编程,有源代码,属性表页类,wizard97风格,大小可调
    VC++编程,有源代码,属性表页类,wizard97风格,大小可调-VC++ Programming, active code page attribute table category, wizard97 style, size adjustable
    2022-01-26 01:37:24下载
    积分:1
  • 益阳论坛v1.12,是论坛由JSP脚本。
    溢洋论坛 v1.12,这是用JSP脚本做成的论坛,呵呵,论坛见得多了,可以自己写一个阿-Yiyang BBS v1.12, is a BBS by JSP script.
    2022-08-07 17:39:43下载
    积分:1
  • 图形的绘制,如何使用自定义画笔(颜色,线宽,线型)。如何为程序中添加选项菜单和选项设置对话框,如何使用标准颜色对话框,如何使用字体对话框,在选项对话框中实现预览...
    图形的绘制,如何使用自定义画笔(颜色,线宽,线型)。如何为程序中添加选项菜单和选项设置对话框,如何使用标准颜色对话框,如何使用字体对话框,在选项对话框中实现预览功能。实现选项对话框和窗口类中的数据交换。如何改变对话框和控件的背景色,如何改变控件的文本颜色,对按钮控件的特殊处理。如何在窗口中显示一幅位图。-graphics rendering, since the definition of how to use a paintbrush (color, line width, linear). How procedures for adding options menu and the option to set up the dialog box, use the standard color dialog, how to use the Font dialog box, the dialog box options to achieve preview function. Implementation Options dialog window and type of data exchange. How to change the dialog and control the background color, how to change the text color control, the right button controls special treatment. How in the window shows a bitmap.
    2022-02-21 21:15:06下载
    积分:1
  • Assembly AVR to tes 3x4 keypad
    Assembly AVR to tes 3x4 keypad
    2022-04-30 09:22:25下载
    积分:1
  • Another Library of String Functions
    Another Library of String Functions
    2023-07-08 03:15:03下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载