首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

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

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

资 源 简 介

用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.

文 件 列 表

water2.cpp
deal.asp
f1.cpp
kuncun1.asp
VIP VIP
0.167714s