登录
首页 » Visual C++ » ex10

ex10

于 2012-12-04 发布 文件大小:1KB
0 300
下载积分: 1 下载次数: 4

代码说明:

  定义一个CStudent类,在该类定义中包括:一个数据成员score(分数)及两个静态数据成员total(总分)和学生人数count:成员函数STC(float s)设置分数,求总分,累计学生人数:静态成员函数Sum返回总分;静态成员函数Average求平均值。在main函数中,输入某班同学的成绩,并调用上述函数求全班学生的总分和平均分。(Define a CStudent class in the class definition, including: a data member score (Score) and two static data members total (total score) and the number of students count: the member function STC (float s) set score, find the total score, the cumulative Number of students: the static member function Sum return score static member function Average average. In the main function, enter the results of a class of students seeking the total score and the average score of students in the class and call the above function.)

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • student
    定义两个类,techer类和student类,将student类对象转换为techer类对象,假设学生毕业后留校,其相关 数据仍然有用,如编号num,姓名name,性别sex。转换后输出相关数据(Define two classes, techer class and student class, the student class object is converted to techer class object, assuming that the students stayed after graduation, the related data is still useful, such as the number num, name name, sex sex. The converted output data)
    2010-06-10 22:32:33下载
    积分:1
  • ADO
    这是一款c源码,学生考试管理系统ADO版(For VC6)。读者可以学习相关只是。了解相关信息。(This is a c source code, student test management system ADO Edition (For VC6). Readers can learn relevant only. Understanding of the relevant information.)
    2010-10-19 19:32:08下载
    积分:1
  • book
    图书管理系统 满足小型图书管理借阅 增加读者删除读者(Library management)
    2014-01-03 17:00:44下载
    积分:1
  • ww
    说明:  学生成绩管理系统 要求是这样的 1、用c语言编写一个简单的学生信息管理程序,能实现对学生信息的简单管理。 2、具体要求: 建立一个4个学生的信息登记表,每个学生的信息包括:学号,姓名,和3门课程的成绩(Student achievement management system requirements for this is the 1, with c language students a simple information management procedures, information on students to achieve a simple management. 2, the specific requirements: the establishment of a four student information registration form, each student information include: Student ID, name, and three courses results)
    2007-11-26 22:48:41下载
    积分:1
  • xsxxgl
    一个简单的学生信息管理系统,是小弟的第一个产品。。求指教。。(A simpl system for managing student information.)
    2020-07-03 07:00:02下载
    积分:1
  • student
    学生信息管理系统,实现对学生信息的管理,有待完善(stutdent system)
    2009-05-14 09:42:17下载
    积分:1
  • xuesheng
    校内学生通讯录管理系统,基本框架要求: 0.显示通讯录 * * 1.添加记录 * * 2.修改记录 * * 3.删除记录 * * 4.按姓名排序 * * 5.按姓名查询 * * 6.快速查询 * * 7.退出 (Campus student directory management system)
    2013-09-08 10:48:53下载
    积分:1
  • Drawboard
    用MFC编写了一个简单的画板程序和学生信息管理系统,可实现简易作画以及学生信息的管理(With the MFC write a simple drawing board procedures and student information management system, enabling easy to paint and student information management)
    2020-07-03 06:40:02下载
    积分:1
  • 123
    多个语言的图书管理系统源代码。分别基于access或sql(Library management system source code in multiple languages. Based on access or sql)
    2012-07-16 14:19:36下载
    积分:1
  • wlpsglxt
    基本信息管理主要包括:商品信息维护、往来单位信息维护、员工信息维护和仓库信息维护。 操作员“mrkj”和密码“111”(Basic information management include: product information maintained between units of information maintenance, employee information maintenance and warehouse information maintenance. Operator " mrkj" and the password " 111" )
    2014-05-04 22:00:37下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载