登录
首页 » Visual C++ » ex10

ex10

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

  • vbdatabase
    VB+Access设计图书管理系统VB+Access设计图书管理系统(VB+Access design library management system VB+Access design library management system)
    2012-06-10 12:48:39下载
    积分: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
  • xueshengxuanke
    说明:  学生选课系统:采用C语言教程编写。适合初学者用户,文件内含有语法说明!(Student Course Selection System: The C language tutorial to prepare. Suitable for novice users, the file contains syntax description!)
    2010-03-28 17:48:30下载
    积分:1
  • sushe
    考查点:线性结构、文件操作 注意:必须使用文件存储数据,不得使用数据库管理系统。 任务:通过此系统可以实现如下功能: 录入: 可以录入宿舍情况,包括宿舍号、可容纳学生数、已容纳学生数、男生/女生宿舍等信息; 可以录入学生住宿情况,包括学号、姓名、性别、宿舍号等信息。 其他信息可以自行设计。 分配宿舍:为每一个学生分配入一个未住满的宿舍。能否提供一个智能分配算法?推荐选择?批量分配?鼓励创新。(Check point: linear structure, file operations Note: you must use the file to store data, can not use management system. Mission: through this system can realize the following functions: Entry: Can enter the dormitory, including dorm number, can accommodate students number, already accommodate students number, boy/girl s dormitory information Can enter the student accommodation, including student id, name, gender, dormitory, etc. Other information can be designed. Dormitory: for each student assigned into a dormitory is not full. Can you provide a smart allocation algorithm? Recommended choice? Batch distributed? Encourage innovation. )
    2016-03-04 18:14:21下载
    积分:1
  • homework
    利用栈求表达式的值,可供小学生作业,并能给出分数。(要求:建立试题库文件,随机产生n个题目;题目涉及加减乘除,带括弧的混合运算;随时可以退出;保留历史分数,能回顾历史,给出与历史分数比较后的评价。)(Use of the stack to evaluate the expression, for primary operations, and can give the scores. (Requirements: Create test database files, randomly generating n topics topics involving addition, subtraction, mixed with the parentheses operator ready to quit retain historical scores, can look back at history, given scores compared with the historical evaluation.))
    2020-12-29 20:09:00下载
    积分:1
  • SelectCourse
    选课系统可以实现选择课程 选课的人 系别(Elective System )
    2012-03-08 22:47:02下载
    积分:1
  • library-system
    值得一看的图书馆管理系统,有plucky同学编写及共享,登陆密码打开mdb文件查看(Worth of library management system, there are plucky prepared by the students and sharing, login password to open mdb file viewer)
    2013-09-06 12:05:53下载
    积分:1
  • studentscore
    学生成绩管理系统,很好用,可以管理学生的成绩,实现多种功能(Student achievement management system, very good, and pupils can manage to achieve a variety of functions)
    2008-07-01 19:17:46下载
    积分:1
  • Word2TeX
    Word file to Tex style.
    2009-02-25 18:06:48下载
    积分:1
  • MFC001
    VC/C++源码,数据库应用,管理系统  vc++简易学生考试管理系统,分两大功能,学生成绩管理和学生信息管理,功能不太多,完成基本的学生信息录入、查询、管理,可以先看一下源码爱好者测试抓图,比较标准的C++窗体应用,就当作是一个VC操作数据库的参考实例 吧。(VC/C++ source code, applications, student management system vc++ simple examination management system, divided into two functions, student management and student information management function is not too much to complete the basic student information entry, query, management, you can look at source enthusiasts test shots, more standard C++ application form, it is a reference to an instance of VC as the operation of the right.)
    2014-12-24 11:27:52下载
    积分:1
  • 696518资源总数
  • 104269会员总数
  • 31今日下载