登录
首页 » Visual C++ » ex10

ex10

于 2012-12-04 发布 文件大小:1KB
0 295
下载积分: 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-manage
    用可视化MFC写的一个学生成绩管理系统,用Access数据库,里面可以查询多门课成绩,并根据条件选择学生,测试过,可用。(Visualization MFC write a student performance management system, with the Access database, which can query multiple course grades, and select students according to the conditions tested, can be used.)
    2012-11-01 17:19:19下载
    积分:1
  • main
    说明:  班级作业成绩管理系统,可以管理班级内同学的成绩信息,并筛选出不及格的同学。(Class operating performance management system, students can manage class performance within the information and filter out failing students.)
    2010-03-22 21:32:14下载
    积分:1
  • 2
    说明:  管西京编著,2011,深入体验VC++项目开发,第二章学校图书馆管理系统 源代码。(Guan Xijing edited, 2011, in-depth the experience VC++ project development,the source code of the second chapter: the School Library Management System.)
    2012-05-19 16:16:51下载
    积分:1
  • A1
    科密A1考勤管理系统1_1_0_721安装包(good morning)
    2016-10-23 11:15:00下载
    积分:1
  • Library2
    说明:  图书借阅系统,图书信息与数据库连接,向数据库添加或删除记录。(Book lending system, library information and database connections, add or delete records to the database.)
    2011-03-10 15:34:42下载
    积分:1
  • yufafenxiqigouzhao
    语法分析器构造 借助于词法分析程序提供的分析结果,编写一个算符优先语法分析程序,程序能进行语法结构分析和错误检查并产生相应的归约信息。同时给出出错信息和错误类型,从而加深对语法分析的理解。 (parser using lexical analysis procedure for the analysis of results prepare a priority operator syntax analysis procedures, procedures for structural analysis and syntax error checking and produce corresponding reduction information. Also given wrong information and the wrong types, so as to enhance the understanding of syntax analysis.)
    2020-06-30 18:40:01下载
    积分: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
  • 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
  • shijuanshengcheng
    试卷生成系统,可自动生成,删除,查找,手动组卷等等(Paper Generation System can automatically generate, delete, search, manual test paper, etc.)
    2013-12-22 16:11:18下载
    积分:1
  • vc写的学生信息管理
    这是一个用vc写的简单访问数据库的程序,也就是一个简单的学生信息管理系统,程序在运行是需要登陆,用户名和密码在程序说明里面有(vc used to write a simple program accessing the database, which is a simple student information management system, the procedure is necessary landing operation, user name and password in the program inside)
    2020-07-03 02:20:02下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载