登录
首页 » Visual C++ » ex10

ex10

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

  • Directory
    VC++跟access相结合的班级通讯录小工具,适合初学者对ADO操作ACCESS的学习。(VC++ combining classes with access contacts gadgets, suitable for beginners to learn to ADO operation ACCESS.)
    2013-07-29 10:44:04下载
    积分:1
  • Stdinf
    学生信息管理系统 C语言小程序 当年课设 拿来交流(Student Information Management System)
    2013-11-04 17:17:48下载
    积分:1
  • v
    说明:  这也是师兄的毕业设计,具体的功能我也不清楚,因为我才大一,请见谅!!!!!!!不过是可以用来答辩的,完整的毕业设计,有源代码,可爱执行文件,文档资料.(This is also the senior)
    2008-04-10 16:35:56下载
    积分:1
  • Three-dedicated-computerbooks
    计算机三级考试——网络技术的必考书目,考生必看!(Three dedicated computer network technology exam books)
    2013-11-16 10:07:12下载
    积分:1
  • WOK_Course_20131015
    endnote 的详细说明,有利于今后英文文献的管理(Describe endnote, help manage the future of English literature)
    2013-12-08 19:54:42下载
    积分:1
  • haizeiwang
    学生成绩管理系统,输入学生所有信息,然后可以对学生信息进行处理,(Student achievement management system, enter all the information the students, student information can then be processed,)
    2013-09-19 19:27:58下载
    积分:1
  • kaoshi
    c++实现的考试成绩管理系统,基于access数据库,可供初学者参考c++语言,及完整系统的设计与实现。(c++ implementation of the test result management system, based on the access database, available for beginners reference c++ language, and complete system design and implementation.)
    2010-12-06 14:50:57下载
    积分:1
  • system_VB
    用Visual Basic编写的简易学籍管理系统程序,包含访问数据库、数据控件使用、图片显示、多窗体编程等技术的运用,可以实现对数据库的查询、添加记录、删除记录等功能(School enrollment management system written in Visual Basic , including access to the database, data control to use, picture display, multi-form programming.It can query the database, add records, delete records along with other functions)
    2011-06-20 11:00:57下载
    积分:1
  • libraryPmfc
    图书管理数据库,基于MFC的编程,用的酒拿走好了(Library management database, MFC-based programming, with a good wine away)
    2013-06-13 09:49:58下载
    积分:1
  • book
    图书管理系统 满足小型图书管理借阅 增加读者删除读者(Library management)
    2014-01-03 17:00:44下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载