文件名称:test10
-
所属分类:
- 标签属性:
- 上传时间:2013-04-23
-
文件大小:914.31kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
(1) 编写程序,定义功课类(包括课程编号、课程名称、课程分数);
(2) 编写程序,定义学生类(包括学生编号、学生姓名、年龄、所在年级、班级编号、选修课程;年龄为short,年级为子定义枚举型,选修课程为类成员数组),用函数重载实现学生年龄增加与年级增加;用运算符重载实现课程的选修;
用函数重载实现学生年龄增加与年级增加:所有学生对象的年龄 年级都加1
用运算符重载实现课程的选修:从课程类中给其赋值
(3) 编写程序,定义班级类(包括班级编号、班级名称、班级学生;班级学生为类成员数组),用运算符重载实现给班级添加一个学生、给班级添加一批学生;
-(1) programming, the definition of homework class (including the course number, course name, course grade) (2) write a program, define the class of students (including student ID, student name, age, where the grades, number of classes, elective courses Age short, grade enumeration type defined for the child, elective courses for the class members array), function overloading increase in the student' s age and grade increase elective course operator overloading to achieve function overloading the student' s age increased with the increase in grade : all students object' s age grade plus 1 operator overloading to achieve curriculum of electives: from the course class to its assignment (3) write a program, the definition of class class (class ID, class name, class students class students to class members array) using operator overloading to add a student to the class, add a group of students to the class
(2) 编写程序,定义学生类(包括学生编号、学生姓名、年龄、所在年级、班级编号、选修课程;年龄为short,年级为子定义枚举型,选修课程为类成员数组),用函数重载实现学生年龄增加与年级增加;用运算符重载实现课程的选修;
用函数重载实现学生年龄增加与年级增加:所有学生对象的年龄 年级都加1
用运算符重载实现课程的选修:从课程类中给其赋值
(3) 编写程序,定义班级类(包括班级编号、班级名称、班级学生;班级学生为类成员数组),用运算符重载实现给班级添加一个学生、给班级添加一批学生;
-(1) programming, the definition of homework class (including the course number, course name, course grade) (2) write a program, define the class of students (including student ID, student name, age, where the grades, number of classes, elective courses Age short, grade enumeration type defined for the child, elective courses for the class members array), function overloading increase in the student' s age and grade increase elective course operator overloading to achieve function overloading the student' s age increased with the increase in grade : all students object' s age grade plus 1 operator overloading to achieve curriculum of electives: from the course class to its assignment (3) write a program, the definition of class class (class ID, class name, class students class students to class members array) using operator overloading to add a student to the class, add a group of students to the class
(系统自动生成,下载前可以参看下载内容)
下载文件列表
test10/Debug/test10.obj
test10/Debug/test100.exe
test10/Debug/test100.ilk
test10/Debug/test100.obj
test10/Debug/test100.pch
test10/Debug/test100.pdb
test10/Debug/vc60.idb
test10/Debug/vc60.pdb
test10/test10.cpp
test10/test100.dsp
test10/test100.dsw
test10/test100.ncb
test10/test100.opt
test10/test100.plg
test10/Debug
test10
test10/Debug/test100.exe
test10/Debug/test100.ilk
test10/Debug/test100.obj
test10/Debug/test100.pch
test10/Debug/test100.pdb
test10/Debug/vc60.idb
test10/Debug/vc60.pdb
test10/test10.cpp
test10/test100.dsp
test10/test100.dsw
test10/test100.ncb
test10/test100.opt
test10/test100.plg
test10/Debug
test10
1999-2046 搜珍网 All Rights Reserved.
本站作为网络服务提供者,仅为网络服务对象提供信息存储空间,仅对用户上载内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。
