- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
记录学生程序(Record student program)
记录学生程序(Record student program)
Basically, to meet your requirements, you can change it yourself!
#include iostream
#include string
#includefstream
#includeiomanip
Using namespace std;
Int amount=0; / / the number of records of students
OFSTREAM *file[50];
/////////////////////////////////* struct student *////////////////////////////////////////
Struct score
{
Float yw;
Float sx;
Float yy;
Float wl;
Float hx;
Float sw;
Struct score *next;
};
/////////////////////////////////* student data *////////////////////////////////////////
Class student
{
Public:
String mun;
String name;
Score sc1;
Score sc2;
Score SC3; / / grades, final score, total score;
Class student *next;
};
/////////////////////////////////* function declaration *////////////////////////////////////////
Void input (student *head); / / input
Void search1 (student *head); / / name query
Void search2 (student *head); / / inquiry
Void change (student *head); / / modification
Void shanchu (student *head); / / delete
Void get (student *head); / / get data
Void (display); / / display menu
Void show (student *head); / / display data
Void readin (student *head); / / save data
Void chushihua (student *head); / / initialize
The main function of *//////////////////////////////////////// /////////////////////////////////*
Void (main) / main function
{
System (color F0);
Char x;
Bool flag2=0;
Student *head=new student; / / initialize student data
Head-next=NULL;
Cout . Welcome to \n student information management system;
(display); / / display menu
Do
{
Do
{
Cinx;
If ((x=0x=8))
Flag2=1;
Else
{
Cout command error!!!!!!!!! endl;
Cout please select the corresponding number for action.:;
}
}while (flag2==0);
Switch (x)
{
Case0cout: now ****************************** student information into ******************************\n;
Input (head);
Cout enter student information for: \n;
Show (head);
Cout ********************************************************************************\n;
Display (); break;
Case1:
{
Char z;
Cout no
您可能关注的文档
- 胰岛素样生长因子(Insulin-like growth factor).doc
- 胶带机(Belt conveyor).doc
- 胶原蛋白短肽(Collagen peptide).doc
- 胶粉聚苯颗粒外保温系统(External insulation system of rubber powder polyphenyl granule).doc
- 胶州湾海底隧道公交(Jiaozhou Bay; Cross Harbour Tunnel; public transportation).doc
- 胶粉聚苯颗粒(Polystyrene granule).doc
- 胶粘剂图书目录(Adhesive book catalogue).doc
- 胸片小常识(Chest X-ray).doc
- 胸腔闭式引流的护理措施(Nursing measures for closed drainage of thoracic cavity).doc
- 脚印油墨辅料介绍(Footprint ink introduction).doc
- 记忆棉的全集(The complete collection of memory cotton).doc
- 记录谈话小Y(Record conversations, little Y).doc
- 记忆力经典测试(Memory classics test).doc
- 记忆淋巴瘤(Memory lymphoma).doc
- 计量200道(Measuring 200 way).doc
- 记承天寺夜游教案(Remember the night Edward Temple plan).doc
- 记念刘和珍君课堂练习(Remember Liu and Jane's class exercises).doc
- 记者证考试《广电新闻基础知识》练习题(八)(Press card examination, radio and television news basic knowledge (eight)).doc
- 记者的素质(Journalist quality).doc
- 讲解2008翻译题(Explain 2008 translation questions).doc
文档评论(0)