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

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

于 2022-03-10 发布 文件大小:7.34 kB
0 212
下载积分: 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 个回复

  • 山农定理得VC++ 完美程序。大家多多交流
    山农定理得VC++ 完美程序。大家多多交流-Shannong theorem was VC++ Perfect procedures. U.S. more exchanges
    2023-04-10 12:55:34下载
    积分:1
  • Calculation of the window coordinates
    计算窗口坐标-Calculation of the window coordinates
    2022-03-10 11:43:22下载
    积分:1
  • 程序在系统托盘中显示的托盘类
    程序在系统托盘中显示的托盘类-procedures in the system tray shows the type tray
    2023-02-24 20:15:03下载
    积分:1
  • 一个清除各种历史记录的代码
    一个清除各种历史记录的代码-a clear historical record of all code
    2022-02-06 04:41:32下载
    积分:1
  • 获取word每页缩略图
     private void ConvertToImage(string wordInputPath, int resolution)         {             try             {                 Aspose.Words.Document doc = new Aspose.Words.Document(wordInputPath);                 if (doc == null)                 {                     return;                 }               
    2022-07-13 14:38:36下载
    积分:1
  • Intelligence Chat
    这是一个用c语言编写的智能聊天程序。实际上,这个程序是一个巡回考试的测试,在这个测试中,使用聊天软件的人问其他人一些问题,前提是他们不知道对方是人还是机器。 ;使用此程序,用户可以与三个预定义的人进行虚拟聊天。所谓智能,是指软件能够识别问题中的悖论,并发送错误信息。例如,如果前一个问题是关于婚姻的,而答案是否定的,那么关于孩子数量的问题将被错误消息回答。 ;
    2023-05-16 15:50:03下载
    积分:1
  • 地址计数器 请注意: 本例的各个源描述的编译顺序应该是: 55_falsepath.vhd 55_falsepath...
    地址计数器 请注意: 本例的各个源描述的编译顺序应该是: 55_falsepath.vhd 55_falsepath_stim.vhd-Address counter Please note: This case is described in various sources to compile the order should be: 55_falsepath.vhd 55_falsepath_stim.vhd
    2023-03-14 04:55:03下载
    积分:1
  • 简单的TCPServer
    自己开发的TCPServer代码,实现和TCPClient的通信。由于本人初学,程序只是适合初学者入门,高手勿进。谢谢。
    2023-01-18 15:25:03下载
    积分:1
  • 程序允许你定义自己的用户界面
    一个可以自定以的界面程序-a program allowing you to define the uer interface yourself
    2022-08-20 05:26:10下载
    积分:1
  • 应用程序二进制convertdemo
    wbxml convertdemo application
    2023-06-14 02:25:02下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载