【文件属性】:
文件名称:校园信息管理系统之链表法
文件大小:128KB
文件格式:RAR
更新时间:2012-05-31 04:06:54
校园信息管理系统
#include
#include
using namespace std;
class Student{
private:
typedef struct student{
string num;
string name;
string sex;
string address;
string birthday;
string sclass;
string major;
string sregister;
struct student *next;
}node;
typedef node *link;
link stu;
public:
void Show();
void Read();
long Save();
void Load();
void Insert();
void Delete();
void Sort();
void Change();
void Query();
friend istream &operator>>(istream &,Student::student &);
friend ostream &operator<<(ostream &,Student::student &);
};
class Teacher{
private:
typedef struct teacher{
string name;
string sex;
string address;
string birthday;
string course;
string tregister;
struct teacher *next;
}Node;
typedef Node *Link;
Link tea;
public:
void Show();
void Read();
long Save();
void Load();
void Insert();
void Delete();
void Change();
void Query(); //教师排序功能不实现
friend istream &operator>>(istream &,Teacher::teacher &);
friend ostream &operator<<(ostream &,Teacher::teacher &);
};
class CMDOrder{
public:
bool helpCMD();
bool inputCMD();
bool outputCMD();
bool saveCMD();
bool loadCMD();
bool analyzeCMD();
bool exitCMD();
};
【文件预览】:
校园信息管理系统1
----Makefile.win(807B)
----工程1.dev(1KB)
----工程1.layout(272B)
----teacher.doc(56B)
----PersonCMD.o(33KB)
----课程设计-校园信息管理系统.exe(464KB)
----main.cpp(2KB)
----PersonCMD.h(2KB)
----student.doc(108B)
----main.o(4KB)
----PersonCMD.cpp(17KB)