VC++带链表的工资管理系统

eb77681 5 0 RAR 2021-05-10 10:05:48

很好的一个带链表的管理系统模板 部分代码: #include #include #include #include #include #include #define null 0 using namespace std; class Listnode { public: Listnode *creat(); //建立资料库 Listnode *search(Listnode *); //查找模块 Listnode *del(Listnode *); //删除模块 Listnode *add(Listnode *); //添加模块 Listnode *show_menu(Listnode *); //显示模块 Listnode *modify(Listnode *); //修改模块 Listnode *stat(Listnode *); //统计模块 Listnode *save(Listnode *); //保存模块 Listnode *open(); //读出模块,自动执行 Listnode *arrange(Listnode *);//排名模块 double pass(Listnode *, string );//求及格率 float ave(Listnode *,string );//求平均分 int position(Listnode *,string ,Listnode *);//求名次 public: int num; //学号 string name; //姓名 string sex;//性别 float M_score; //数学分数 float E_score; //外语分数 float C_score;//C++分数 float total;//总分 float ave1;//平均分 Listnode *next; //链接指针 }; Listnode *Listnode::show_menu(Listnode *p)//输出信息 { Listnode *h; h=p; if(h==null)//链表为空 { cout

用户评论
请输入评论内容
评分:
暂无评论