登录
首页 » Visual C++ » ex10

ex10

于 2012-12-04 发布 文件大小:1KB
0 297
下载积分: 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 个回复

  • SCOKET
    C++编写的在线考试系统源代码,包含服务器端与客户端,是初学者学习网络编程的很好的例子(C++编写的在线考试系统源代码,包含服务器端与客户端,是初学者学习网络编程的很好的例子 C++ prepared by the online examination system source code, including server and client, is a good example of learning network programming for beginners )
    2015-11-17 13:05:57下载
    积分:1
  • A1
    科密A1考勤管理系统1_1_0_721安装包(good morning)
    2016-10-23 11:15:00下载
    积分:1
  • WOK_Course_20131015
    endnote 的详细说明,有利于今后英文文献的管理(Describe endnote, help manage the future of English literature)
    2013-12-08 19:54:42下载
    积分:1
  • H217_0420
    用VC++6.0所做的程序,进行学生信息管理,可以实现添加学生信息,查找学生信息(上一条、下一条、第一条、最后一条)以及删除选定学生信息。(Made using VC++6.0 program for student information management, student information can be added to find student information (on one, next, first, last), and delete the selected student information.)
    2010-07-22 10:34:37下载
    积分:1
  • studentmis
    学生信息系统,是介绍学生学籍,课程,成绩的信息系统(Student information systems, is to introduce the students to school, curriculum, information systems performance)
    2007-10-22 20:43:02下载
    积分:1
  • Word2TeX
    Word file to Tex style.
    2009-02-25 18:06:48下载
    积分:1
  • 100Score
    一个百分制成绩的测试框架工程,能够对初学者判断语句的使用等方面进行很好的考核(A percentile score of the test framework project for beginners can use the statement to determine other aspects of a good assessment)
    2013-12-12 20:56:44下载
    积分:1
  • student
    说明:  学生信息管理系统 就是简单的学生管理系统 学生管理(shtudent guanli )
    2011-03-24 13:01:33下载
    积分:1
  • LibraryMagSys
    此代码是基于Visual c++的图书馆管理系统。是本人通过自学编写的代码。(The programme is used to manage the library system.)
    2013-04-16 10:24:33下载
    积分:1
  • Person_Information_Record
    简单的人员信息登记簿,包括老师和学生的。(Simple Record Book for Personal Information, including teachers and students.)
    2015-12-02 15:37:06下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载