- 3
- 0
- 约3.91千字
- 约 18页
- 2017-08-16 发布于河南
- 举报
实训文档(Training documents)
实训文档(Training documents)
#包括 iostream。”
#包括字符串。”
typedef struct
{
名称[ 10 ];
长民;
浮动评分;
}
学生;
虚空Creat(学生研究[ ]);
插入(学生学习[ ]);
删除(学生学习[ ]);
无效的查找(学生学习[ ]);
修改(学生学习[ ]);
无效的属性(学生学习[ ]);
int length(学生学习[ ]);
打印表格(学生学习[ ]);
虚空Creat(学生研究[ ]);
{
cout “请输入学生人数:”;
int n;
CIN n;
cout “姓名” \t “学号” \t “成绩” endl;
为(int i = 1;i = n;i++)
{
字符的名称[ 10 ];
长newnum;
浮newscore;
CIN 的名字;
strcpy(Stu [我]。名称,新名称);
newnum CIN;
学生数= newnum [我];
}
strcpy(Stu [我]。民,”);
斯图[我]。数= 0;
斯图[我]得分= 0;
}
打印表格(学生学习[ ])
{
cout “姓名” \t “学号” \t “成绩” \n;
int i = 1;
而(我 =长度(STU))
{
cout 斯图[我],叫 \t 斯图[我]。Num \t 斯图[我]。评分 \n;
我+ +;
}
c
您可能关注的文档
- 如何培养学生合作学习的能力--中国期刊网(How to cultivate students' ability of Cooperative Learning -- Chinese Journal Net).doc
- 如何复习成人高考英语(How to review the adult college entrance examination in English).doc
- 如何处理 找茬的客户的问题(How to deal with the problem of finding customers).doc
- 如何学好avr单片机介绍(Learn how to introduce AVR MCU).doc
- 如何学经济学(How to learn economics).doc
- 如何上好美术片段课(How good art class fragments).doc
- 如何完善企业内部会计控制制度(How to improve the internal accounting control system).doc
- 如何寻找市场及创业思路(How to find the market and business ideas).doc
- 如何应聘销售职位(How to apply for a sales position).doc
- 如何建立一个网站(我的5年经验谈)(How to build a web site (5 years of experience in my talk)).doc
最近下载
- 【浙商-2026研报】万国黄金集团(03939):深度报告:黄金万国.pdf VIP
- 陕西省2026职业技能大赛西安市选拔赛装配钳工项目(国赛精选)技术文件.docx VIP
- 中译语通科技(陕西)有限公司招聘简章.pdf VIP
- 2024年山西晋中中考语文试题及答案.doc
- 2025统编版高一中外历史纲要下知识点归纳总结(复习必背).docx VIP
- HAIER 海尔 海尔Haier冰箱 BCD-231WDBB 说明书.pdf
- 中国呼吸危重症患者肠内营养支持专家共识(2026版).docx VIP
- 小班防雷电课件.pptx VIP
- 哈工大 土木工程施工.pdf VIP
- 中建一局《项目技术创效手册》.docx VIP
原创力文档

文档评论(0)