Skip to content

kaiyuanX/Score-Manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Student Test Score Information Management

Description

My piece of work from C++ assignment. Hope you like it.

Main Data

  • class sub
  • class student
  • class result

Structure_Chart

Reference

  • student.txt 记录登记过的所有人员信息 ( subhead 项中每个编号后面接一个空格)
  • sub.txt 记录所有学科的信息
  • score.txt 记录登记过的考试成绩
  • 在交互界面选择 "5" 或 "8" 后 , 修改才会在 文件 中更新
  • 在 <exam.h> 中修改管理人数 : #define Default_Count_of_Student 100( 默认 100 )
  • 更新 sub.txt 后 , 记得修改 <data.h> 中总学科的数量 : #define num_of_sub 7( 目前 7 门学科 )
    ( 在 sub.txt 中按照已有的格式添加的学科 , 我相信你可以摸索出其中的规律)
  • 每次保存学生信息时 , 学生名单按照学号大小排列 , 非常方便
    ( 排序方式为按学号"快速排序" , 截止范围为 3 , 截止后用"选择排序" , 至于截止范围取多少最好 , 我目前还不能把握 )

Notice

  • 建议 3 个文件不要手动修改 ( 除非你跟我一样 , 熟悉文件读取规则 )
  • class result 中数据成员的访问权限全为 public , 没有格外的原因 , 单纯太懒
  • 还有一件事 : new 的所有对象没有手动释放 , 在于人太懒 , 以后保证不会这样 。( 大家不要模仿 )

( 英语水平有限 , 用中文写这部分 )

Postscript

The program has not yet lived up to expectations, strive for constant updates

About

My piece of work from C++ assignment

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published