登录
首页 » Visual C++ » ex10

ex10

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

  • fghfgh
    很小的课程设计,是关于c的 图书信息管理系统(Small curriculum design, c books on information management system)
    2010-06-30 10:34:26下载
    积分:1
  • Appendix3511
    说明:  考试成绩管理系统,基于visual c++的简易考试成绩管理系统(Examination results management system, based on visual c++ test scores of Easy Management System)
    2010-03-16 22:40:25下载
    积分:1
  • demo2
    此文件为利用VC++编写的一个研究生信息管理系统,实现基本的信息查询、删除、增加、修改等功能,还包括对学生成绩的统计,其基于SQL2003开发。(This file is written to take advantage of VC++ a graduate student information management system, to achieve the basic information query, delete, add, modify, and other functions, including statistics on student achievement, based on SQL2003 development.)
    2013-11-30 09:42:56下载
    积分: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
  • 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
  • mysql-vc
    vc连接mysql 并且形成图书管理系统的源码,用的是5.0版mysql,里面有sql建库文件(vc connect mysql and the formation of the source library management system, version 5.0 using mysql, there are sql database file)
    2020-10-28 15:09:57下载
    积分:1
  • VBandACCESS
    此为学生公寓物业管理系统,用VB+ACCESS编写(This is a student housing property management system, written using VB+ ACCESS)
    2010-05-06 09:48:35下载
    积分:1
  • studentgrademanagement
    学生成绩管理系统,对学生的个人信息进行增加删除以及修改等操作(Student achievement management system, to increase students' personal information, such as delete, and modify operations)
    2014-06-20 16:30:38下载
    积分: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
  • tushuguanlixitongyuandaima
    图书管理系统,是一个由人、计算机等组成的能进行管理信息的收集、传递、加工、保存、维护和使用的系统。(Library management system, is a by the people, the computer can be composed of the collection of management information, transmission, processing, preservation, maintenance, and use of the system.)
    2016-03-16 18:42:29下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载