登录
首页 » Visual C++ » ex10

ex10

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

  • MyStu
    一个简单的学籍管理系统,我和同学共同完成,仅供参考。(A simple enrollment management system, my classmates and I have completed, for reference only.)
    2011-08-21 10:20:05下载
    积分:1
  • book-system
    基于vc和SQL200的图书管理系统.可以方便图书管理员 查询 更新数据。(book system~)
    2011-06-20 10:19:29下载
    积分:1
  • Person_Information_Record
    简单的人员信息登记簿,包括老师和学生的。(Simple Record Book for Personal Information, including teachers and students.)
    2015-12-02 15:37:06下载
    积分:1
  • CourseManager
    课程管理系统。本例将介绍如何构造一个ODBC数据库以及通过MFC如何使用ODBC数据库,并且通过MFC来实现一个课程信息管理系统。(This example describes how to construct an ODBC database and how to use the ODBC database by MFC and MFC to implement a program through information management system.)
    2013-12-18 13:05:08下载
    积分:1
  • FMDB
    基于VC++和数据库的学生成绩管理 程序能运行 基本没什么错误
    2010-12-08 14:10:32下载
    积分:1
  • longgekuta
    针对肖田元教授所著的《系统仿真导论》中龙格库塔法参考程序研究生很难看懂的现象,我加上了注释,使初学者能把学习算法和编写程序对应起来,从而可以有效地掌握算法的实现,对于用龙格库塔法进行在线实时仿真、建模、最优控制及自适应控制的教学有意义。(Professor Xiao Tianyuan for the book " Introduction to System Simulation," in reference to Runge-Kutta method is difficult to understand the phenomenon of post-graduate program, I have added comments to beginners can learn the corresponding algorithms and programming together, which could effectively implementation of control algorithms, using Runge-Kutta method for online real-time simulation, modeling, optimal control and adaptive control of a meaningful education.)
    2010-02-07 17:09:08下载
    积分:1
  • 0op
    这是我做的一个简单的学生信息管理,主要有查询、修改、保存等功能。(This is what I do a simple student information management, the main query, modify, save functions.)
    2011-06-21 14:52:33下载
    积分: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
  • wzxxglxt
    这个是基于vb的物资信息管理系统,是一篇很好的课程设计,希望对大家能有所帮助!(Vb this is based on material information management system, is a very good curriculum design, in the hope that we can help!)
    2008-12-28 21:00:14下载
    积分:1
  • tushuguanlixitong
    图书管理系统,vc+sql,用于数据库课程设计(Library management system, vc+ sql, curriculum design for the database)
    2011-06-20 10:40:02下载
    积分:1
  • 696524资源总数
  • 103886会员总数
  • 81今日下载