登录
首页 » Visual C++ » ex10

ex10

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

  • 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
  • Multarget1
    自己做的一个雷达仿真的程序,毕业设计做的,由于时间的关系,做得比较简单,希望提出宝贵的意见(Own a radar simulation procedures, graduation project to do, because of the time the relationship between the relatively simple to do and hope for the valuable advice)
    2009-01-05 13:26:12下载
    积分:1
  • a
    图书管理系统,在MFC下运行,实现了学生信息管理与图书管理(Library management system)
    2013-11-21 17:24:17下载
    积分:1
  • studentchooseclass
    简单的类与对象的内容,实现大学选课系统,实习课代码(Simple content classes and objects, the realization of the University of elective system, training classes code)
    2008-12-31 09:15:59下载
    积分:1
  • Book_Sale
    一个图书管理系统的概要分析, 1.总体设计 2.接口设计 3.系统数据结构设计 4.系统错误处理设计(a library management system summary analysis, 1. Design 2. Interface Design 3. Data structure design 4. Error Handling System Design)
    2007-01-31 09:59:18下载
    积分:1
  • smis
    Delphi小型的学生管理系统源代码,功能方面包括新生信息录入、学籍变更录入、奖励情况录入、处罚情况录入、学生个人信息查询修改等(Delphi small student management system source code, functional aspects including the newborn information entry, entry student status changes to entry, reward situation, the punishments entry, students' personal information query modification)
    2013-04-09 21:29:04下载
    积分:1
  • C---kechengsheji
    基于C语言的教师管理系统,绝对经典,功能全面。。(C-based teacher management system, an absolute classic, full-featured. .)
    2011-10-12 19:52:16下载
    积分:1
  • xsxxgl
    一个简单的学生信息管理系统,是小弟的第一个产品。。求指教。。(A simpl system for managing student information.)
    2020-07-03 07:00:02下载
    积分:1
  • study
    学生信息管理系统。实现学生信息的增加,删除,管理等()
    2008-05-04 14:35:42下载
    积分: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
  • 696518资源总数
  • 106245会员总数
  • 18今日下载