- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
课程信息管理(Curriculum information management)
课程信息管理(Curriculum information management)
Functional description of the /*1. management system
Curriculum information management: it can increase data, delete data, display data, modify data, query data by name and initial letters, and some basic program functions.
2. description of stored data
CourseNumber: course number
Coursename: course name
Subject: what is your major?
Xingzhi: properties
Time: class hour
Score: credits
3. outline design manual
Define a course class, including browsing data, increasing data, querying data, and other functions, by calling functions to achieve different functional purposes.
The 4. source program.
#includeiostream
#includecstring
#includeiomanip
Using namespace std;
Class course
{private:
Double courseNumber;
Char coursename[20];
Char subject[20];
Char xingzhi[20];
Int time;
Float score;
Static int countp;
Public:
Void, courseshow ();
Void setcourse (double cN, char *names, char *subjects, char *xingzhi, int times, float scores); / / add data
Void change_number (double cN); / / modify data
Void change_name (char *names);
Void change_subject (char *subjects);
Void change_xingzhi (char *xingzhis);
Void change_time (int times);
Void change_score (float scores);
Char, *get_coursename ();
Char, *get_subject ();
Void, display ();
Int, Getcountp (), {return, countp;}
};
Void course:: setcourse (double, cN, char, *names, char, *subjects, char, *xingzhis, int, times, float, scores)
{
CourseNumber=cN;
Strcpy (coursename, names); / / data set function
Strcpy (subject, subjects);
Strcpy (Xingzhi, Xingzhis);
Time=times;
Score=scores;
Countp++;
}
Char *course:: get_coursename ()
{
Return coursename;
}
Char *course:: get_subject ()
{
Return subject;
}
Void course:: change_number (double, cN)
{
CourseNumber=cN;
}
Void course:: change_name (char, *names)
{
Strcpy (coursename, names);
}
Void course:: change_subject (char, *subjects)
{
Strcpy (subject, subjects);
}
Void course:: change_xingzhi (char, *xingzhis)
{
Strcpy (Xingzhi, Xingzhis);
}
Void c
您可能关注的文档
- 基于神经网络的车牌识别(License plate recognition based on Neural Network).doc
- 基于遗传算法的gm(1,1)直接建模(Direct modeling of GM (1,1) based on genetic algorithm).doc
- 基层人员职业发展(Grassroots professional development).doc
- 基层办案常见错误问题汇编(Compilation of common mistakes in grassroots handling).doc
- 基建电厂信息化项目的模型研究与实施(上)(Model research and implementation of informatization project of infrastructure power plant (Part one)).doc
- 基础会计学在线作业1(Basic accounting online homework 1).doc
- 基础经济学(Basic economics).doc
- 奖门人搞笑问题(Trio funny problem).doc
- 奖金分配方案(bonus distribution scheme).doc
- 好句好段大全(All right).doc
- 课程名称中国医学史(Course Title Chinese medical history).doc
- 课程的设计理念与思路(Curriculum design concept and train of thought).doc
- 课堂小游戏整理(Classroom game finishing).doc
- 课纲下载-管理能力提升(Class download - enhance management capabilities).doc
- 课题解题的策略(Topic strategies for solving problems).doc
- 谷歌地球-上帝之眼目标经纬度(Google Earth - the eye of God, the latitude and longitude of the goal).doc
- 购买地板十大秘籍(Buy Flooring ten cheats).doc
- 货物运输(Freight transportation).doc
- 购物网站特点及区别(Shopping website features and differences).doc
- 购房者如何选一套好房 买房六大要素最重要(Property buyers how to choose a good house, buy six elements is the most important).doc
最近下载
- 飞行中鸟击的危害与防范(共48张PPT).ppt VIP
- 统编版小学语文二年级上册第六单元 先辈伟人 大单元整体学历案教案 教学设计附作业设计(基于新课标教学评一致性).docx VIP
- 历史记载-中西闻见录15.pdf VIP
- 历史记载-中西闻见录13.pdf VIP
- 医疗文书书写及规范.ppt VIP
- 统编版语文二年级上册第六单元 追寻伟人足迹单元任务群整体公开课一等奖创新教学设计.docx VIP
- 合力CPCD35-KU5Y4G3 叉车零件图册l.pdf VIP
- 历史记载-中西闻见录12.pdf VIP
- 课前小游戏-看字说颜色(必须wps打开).pptx VIP
- 历史记载-中西闻见录11.pdf VIP
文档评论(0)