文件名称:test10

  • 所属分类:
  • 其他小程序
  • 资源属性:
  • [Windows] [Visual C] [源码]
  • 上传时间:
  • 2013-04-23
  • 文件大小:
  • 914kb
  • 下载次数:
  • 0次
  • 提 供 者:
  • li***
  • 相关连接:
  • 下载说明:
  • 别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容均来自于网络,请自行研究使用

(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
(系统自动生成,下载前可以参看下载内容)

下载文件列表





test10\Debug\test10.obj

......\.....\test100.exe

......\.....\test100.ilk

......\.....\test100.obj

......\.....\test100.pch

......\.....\test100.pdb

......\.....\vc60.idb

......\.....\vc60.pdb

......\test10.cpp

......\test100.dsp

......\test100.dsw

......\test100.ncb

......\test100.opt

......\test100.plg

......\Debug

test10

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度更多...
  • 请直接用浏览器下载本站内容,不要使用迅雷之类的下载软件,用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*主  题:
*内  容:
*验 证 码:

源码中国 www.ymcn.org