Guest User

Untitled

a guest
Jun 17th, 2018
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.81 KB | None | 0 0
  1. #pragma once
  2.  
  3. #ifndef AddStudent_H
  4. #define AddStudent_H
  5.  
  6. class AddStudent
  7. {
  8. public:
  9. char Character_A[2];
  10. char Character_a[5];
  11. char SID[5];
  12. char Character_B[2];
  13. char Character_b[6];
  14. char Name[10];
  15. char Character_C[2];
  16. char Character_c[5];
  17. char Age[5];
  18. char Character_D[2];
  19. char Character_d[8];
  20. char Gender[10];
  21. char Character_E[2];
  22. char Character_e[15];
  23. char EntranxeScore[10];
  24. char Character_F[2];
  25. public:
  26. AddStudent();
  27. ~AddStudent();
  28. public:
  29. void MenuBar();//菜单函数
  30. void QueryFunctionMenu();//查询功能菜单
  31. void MoreFunction();//更多功能函数
  32.  
  33. void Sort_Num();//按学号排序函数
  34. void TotalScoreRanking();//按总成绩排序函数
  35.  
  36. void AddStudentInformation();//添加学生信息函数
  37. void DeleteStudentInformation();//删除学生信息函数
  38. void ChangeStudentInformation();//更改学生信息函数
  39. void QueryStudentInformation();//查询学生信息函数
  40. void ShowStudentInformation();//显示所有学生信息函数
  41. void AdditionalFunction();//附加功能选项函数
  42.  
  43. void QueryStudentID();//通过学号查询函数
  44. void QueryStudentName();//通过学生姓名查询函数
  45. void QueryStudentAge();//通过学生年龄查询函数
  46. void QueryStudentEntranxeScore();//通过学生分数查询函数
  47.  
  48. void AddStudent_txt();//插入列表函数
  49.  
  50. void checkName(int m, char Name[]);//检查姓名函数
  51. void checkSID(int j);//检查学号大小函数
  52. void checkSID_1(int m);//检查学号是否重复函数
  53. void checkGender(int i, char a[]);//检查性别函数
  54. void checkAge(int m);//检查年龄函数
  55. void checkEntranxeScore(int k);//检查分数函数
  56. void getName(char name[]);//检查姓名函数
  57.  
  58. void EnterStudentInformation(int i);//输入学生信息
  59. void ExchangeFunction(int m, int n);////交换数据结构中两个统一结构的不同下标的结构值
  60. };
  61. #endif
Add Comment
Please, Sign In to add comment