求教一个C++的编程小疑点

求教一个C++的编程小问题,顶者有份
C++
/*  
  编写程序实现一个小型学校人事管理系统。
  其中,基类person包含编号、姓名数据成员;派生类学生包含编号、姓名、班号和成绩数据成员;
  派生类教师包含编号、姓名、职称和部门数据成员。各个学生以及教师记录按编号递增的顺序分
  别存放在学生和教师对象数组中。另外,对于每一类,还需包含信息输入、信息显示、信息修改、
  信息删除、信息插入五类功能。
*/


------解决方案--------------------
你总得会点啥吧

------解决方案--------------------
那你是想应付作业呢?还是想学点真本事?
------解决方案--------------------
taodm让他揭贴,分我一半。。。
------解决方案--------------------
那帮不了你了,我现在也不可能再写得出新手级的代码了。不用STL都已经不会写代码了。
------解决方案--------------------
写一个大体的架吧:

class person
{
public:
virtual void MsgInput();
virtual void MsgPrint();
virtual void MsgModify();
virtual void MsgDelete();
virtual void MsgInsert();
protected:
int num;
string name;
}:

class student : public person
{
public:
virtual void MsgInput();
virtual void MsgPrint();
virtual void MsgModify();
virtual void MsgDelete();
virtual void MsgInsert();
private:
int classnum;
float score;
};

class teacher : public person
{
public:
virtual void MsgInput();
virtual void MsgPrint();
virtual void MsgModify();
virtual void MsgDelete();
virtual void MsgInsert();
private:
string department;
string position;
};
------解决方案--------------------
ding
------解决方案--------------------
从互联网上下载 C++入门经典源代码.rar
Project Code文件夹中的代码符合要求。
------解决方案--------------------
/*
***************************************************************
*
* Project.h
*
****************************************************************
*/

// Include files
#include <string>

using std::string;

// Global Const variables. These variables determine
// the maximum lengths of fields and member variables.

const int MAX_FIELD_SIZE = 35;
const int HEADER_SIZE = 15;

const int SURNAME_SIZE = 21;
const int FIRST_NAME_SIZE = 21;
const int ADDRESS_SIZE = 31;
const int CITY_SIZE = 21;
const int STATE_SIZE = 4;
const int ZIP_CODE_SIZE = 7;
const int PHONE_NUMBER_SIZE = 9;

/*
***************************************************************
*
* In this file we declare the member functions and member
* variables of the "Person " base class, as well as it 's
* derived classes.
*
****************************************************************
*/

/*
****************************************************************
*
* The "Person " Class. This is the base class for
* both the Student and Teacher class.
*
****************************************************************
*/

class Person {
private:

// Private member variables
string first_name;
string surname;
string address1;
string address2;
string address3;
string city;
string state;
int zip;
string phone;

// Private virtual member functions
// virtual void set_other_info() = 0;

public: