登录
首页 » Visual C++ » ex10

ex10

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

  • carandsoon
    这个是超市管理系统等管理系统中经常用到的一个DLL,它可以非常方便的使编程人员能够实现金额的大小转换,在这个DLL中,我用到一点我个人的心得。希望大家喜欢。(This is a supermarket management system management system often used in a DLL. It can be very convenient enables programmers to realize the size of the amount of change in the DLL, I used my personal experience. Hope you like them.)
    2007-06-16 21:32:54下载
    积分:1
  • shijuanshengcheng
    试卷生成系统,可自动生成,删除,查找,手动组卷等等(Paper Generation System can automatically generate, delete, search, manual test paper, etc.)
    2013-12-22 16:11:18下载
    积分:1
  • calculationaboutCauchydispersionformula
    计算柯西色散公式系数的,要做棱镜色散实验的同学可以拿走算数据,VC2008下编译通 过。VC6.0应该也可以。逐组输入波长和对应的折射率后,输出A、B、C三个系数的值。仓 促编写,风格不太好。const int num是测量的谱线数,如果不是5组请自己改一下该数值。 (Cauchy' s formula for calculating coefficient of dispersion, dispersion prism to do the experiment for students to take count data, VC2008 compiled through. VC6.0 should be able to. One by one set of input wavelengths and the corresponding refractive index, the output of A, B, C 3 coefficient values. Hasty preparation, style is not very good. const int num is a measure of the number of lines, if not five Group requested the change you on the value of their own.)
    2009-12-05 21:38:52下载
    积分:1
  • studentinformancesystem
    一个简单的学生管理系统,功能很简单,还有待进一步提高(a simple student management system, function is very simple, there is a need to further raise)
    2007-03-21 23:03:44下载
    积分:1
  • Student_management_sys
    学生管理系统,主要功能实现学生信息的增删改查等等。(dfdf fredg dfgreasf )
    2015-12-28 20:20:42下载
    积分:1
  • shu3
    说明:  图书租赁管理系统,由vb语言编成,方便实用,大家可以试一下,可以给点建议.(books lease management system, vb language from the field, convenient and practical, we can test that can give suggestions.)
    2006-04-07 14:34:51下载
    积分:1
  • 20060110092439556058
    中国文档中心-图书馆管理系统设计报告djij dhwoih doiwodiwojdi jwdoijw (China documentation center-library management system design report djij dhwoih doiwodiw ojdi jwdoijw)
    2007-06-10 15:06:56下载
    积分:1
  • system
    实现迷你图书馆管理系统,用的是VS和SQLServer2005设计的(Achieve mini library management system, using the design of VS and SQLServer2005)
    2013-11-19 20:27:44下载
    积分:1
  • mystudentsys
    学生管理系统 基于C++的MFC类库实现的(student system)
    2013-05-18 10:51:38下载
    积分:1
  • bd2000
    是一个学生的 选课系统有很好的选课功能 可以商业买卖了(students is a good system Elective classes of functions can be a commercial trading)
    2005-04-05 10:57:25下载
    积分:1
  • 696518资源总数
  • 106227会员总数
  • 11今日下载