登录
首页 » Windows开发 » 用c++的多态性编写一个简单的管理程序,处理的信息包括教师、学生、职员等三类对象。程序应具有适当的数据结构。程序的功能是管理学生,教师,职工信息,要求具有添加,...

用c++的多态性编写一个简单的管理程序,处理的信息包括教师、学生、职员等三类对象。程序应具有适当的数据结构。程序的功能是管理学生,教师,职工信息,要求具有添加,...

于 2022-03-10 发布 文件大小:7.34 kB
0 211
下载积分: 2 下载次数: 1

代码说明:

用c++的多态性编写一个简单的管理程序,处理的信息包括教师、学生、职员等三类对象。程序应具有适当的数据结构。程序的功能是管理学生,教师,职工信息,要求具有添加,删除,查询,排序的功能,在输出时注意综合应用所学知识灵活应用虚函数。 要求: 1. 在一个容器中存储不同类型的对象,要求数据结构中不能有类型判断字段。 2. 利用继承和虚函数,使得程序容易扩展,如输出对象信息。 3. 利用代理或者句柄实现引用计数和写时复制。-polymorphism with a simple preparation of the management procedures, the processing of information, including teachers, students and other staff the three targets. Procedures should have the appropriate data structure. Procedures function is the management of students, teachers, staff information, requiring add, delete, query, sort, in which the function to output integrated application knowledge to use virtual function. Requirements : 1. In a storage containers of different types of targets, data structure types can be judged field. 2. The use of inheritance and virtual function, making procedures easier to expand, as output target information. 3. Agents use or handle achieve reference counting and write copy.

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

发表评论

0 个回复

  • 小图象在大图象上来回的移动,可以选择不同的方式来看效果
    小图象在大图象上来回的移动,可以选择不同的方式来看效果 -Small image in the image on the back and forth movement, you can choose to look at the effect of different ways
    2022-03-25 03:16:16下载
    积分:1
  • 利用钩子做的重现用户操作的源码,希望对大家有帮助
    利用钩子做的重现用户操作的源码,希望对大家有帮助-The use of hooks to do to reproduce the user
    2022-03-13 13:48:48下载
    积分:1
  • auto create odbc
    auto create odbc
    2023-08-09 14:25:03下载
    积分:1
  • 这是一个经过调试的液晶屏代码,可以给初学习提供参考,
    这是一个经过调试的液晶屏代码,可以给初学习提供参考,-This is an LCD screen through the debugging code, you can provide a reference to the beginning of learning,
    2022-09-14 04:55:03下载
    积分:1
  • vs c++
    v3.0自画直线,矩形,园v2.8-2.9完成所有功能,包括全选,拖动等,参见文档HDraw2.9.docv2.7修正画布随滚动条滚动的Bug完善MouseMove的直线,矩形和椭圆识别v2.5增强版增加相应菜单把画图的Toolbar单独分离出来在画布上对单张图片操作v2.4完结版画布,ScrollView, CRectTracker,调色板,保存成位图加入中间层View的步骤1.创建MFC类CHDrawPView:CScrollView2.修改CHDrawApp的InitInstance方法,将CHDrawView改为CHDrawPView,并修改include加入CRectTracker的步骤1.增加成员变量CRectTracker m_tracker2.在CHDrawPView的构造函数中设置Tracker的大小3.在CHDrawPView的OnDraw中调用Tracker的Draw函数4.override CHDrawPView的SetCursor方法 GetCursorPos->ScreenToClient->SetCursor5.override CHDrawPView的LButtonDown方法 HitTest->Track将CHDrawView加入CHDrawPView的使用自定义消息防止ActiveView从画布跑到背景Viewv2.3增加Bitmap背景功能v2.2完成颜色和线宽功能v2.1增加文本图形类型,增加删除功能,增加打开保存功能v2.0完成所有基本功能
    2022-01-26 00:54:46下载
    积分:1
  • driver, compatible with NE2
    驱动程序,兼容NE2-driver, compatible with NE2
    2022-11-09 01:20:03下载
    积分:1
  • 飞思卡尔广告板的触摸屏驱动程序,非常重要!
    Freescale ADS demoboard touchpanel device driver,very important!-Freescale ADS demoboard touchpanel devic e driver, very important!
    2022-06-29 01:51:22下载
    积分:1
  • 这是我很早的一个作品,是学了VB之后做的,还有很多功能没有实现,你不防接着做,内含安装程序和源代码。...
    这是我很早的一个作品,是学了VB之后做的,还有很多功能没有实现,你不防接着做,内含安装程序和源代码。-This is an ealier version which is writen after learning VB. Many functions have not been carried out. If you are interested, you can further improve it. including installation and source code.
    2022-01-22 17:08:05下载
    积分:1
  • 取字符程序酷酷卢
    取字符程序酷酷卢-admission procedures grumbling but Lu characters
    2022-01-25 21:17:00下载
    积分:1
  • 一个产生程序序列号的范例
    一个产生程序序列号的范例-a sequence of a process model
    2022-04-29 12:57:59下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载