-
C++各种程序案例
案例1:
创建一个动物类,该类的属性成员有:名字、体重、长度。成员函数有sleep(),eat(),breath()。其中属性成员是私有的。函数成员是公有的。
第一 类的声明和定义放在文件 animal.h中。
第二 请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
- 2022-08-21 15:34:04下载
- 积分:1
-
实现飞机飞行的模拟,利用空气动力学原理实现飞机飞行时,空气流的模拟。...
实现飞机飞行的模拟,利用空气动力学原理实现飞机飞行时,空气流的模拟。-Of aircraft flight simulation, the use of aerodynamics to achieve flight, air flow simulation.
- 2022-02-22 04:18:49下载
- 积分:1
-
基于VB编写的查找文件的程序,可查找指定文件夹下的所有文件或指定文件...
基于VB编写的查找文件的程序,可查找指定文件夹下的所有文件或指定文件-VB-based document prepared by the search procedures can be found under the designated folder of all documents or designated document
- 2022-10-04 11:15:03下载
- 积分:1
-
Super控件:几行代码控制定制菜单、系统信息、托盘区图表、气泡提示等复杂功能。控件+源码...
Super控件:几行代码控制定制菜单、系统信息、托盘区图表、气泡提示等复杂功能。控件+源码-Super control : a few lines of code customized menu system information, tray tables, bubble suggested other complex functions. Source Control
- 2022-02-14 16:15:03下载
- 积分:1
-
a time of the ActiveX Programming
一个有关时间的ActiveX编程-a time of the ActiveX Programming
- 2022-01-26 03:53:54下载
- 积分:1
-
枚举所有的窗体,包括窗体的菜单,图表,和一些基本的操作.
枚举所有的窗体,包括窗体的菜单,图表,和一些基本的操作.-Enumerate all the windows, including the Window menu, charts, and some of the basic operation.
- 2023-07-12 18:50:02下载
- 积分:1
-
显示甘特图的一个实例,很好的很好的很好的
显示甘特图的一个实例,很好的很好的很好的-show gannt
- 2023-03-29 23:40:03下载
- 积分:1
-
自己用VC写的猜数字的小程序,
有图形界面,
供初学者学习.
最重要的是:皮肤的使用及界面的设计...
自己用VC写的猜数字的小程序,
有图形界面,
供初学者学习.
最重要的是:皮肤的使用及界面的设计-VC with their own small???written procedures, has a graphical interface for beginners to learn. The most important thing is: the use of skin and interface design
- 2023-08-24 11:30:04下载
- 积分:1
-
这是一个电话薄管理系统
这是一个电话薄管理系统-This is a phone book management system
- 2022-03-10 21:49:09下载
- 积分:1
-
can代码
can代码
class CPoint{
private: //私有成员
float m_x, m_y;
protected: //保护成员
void SetPoint(float x, float y) {m_x = x; m_y = y;}
public: //公共成员
CPoint(float x, float y) {m_x = x; m_y = y;} //构造函数
void Move(float x, float y) {SetPoint(m_x + x, m_y + y);}
void Display() {cout
- 2022-04-01 02:38:18下载
- 积分:1