Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Nov 2nd, 2011  |  syntax: C++  |  size: 0.72 KB  |  hits: 40  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. //Student.h
  2. #ifndef STUDENT_H
  3. #define STUDENT_H
  4. class Students
  5. {
  6. public:
  7.                 Students();
  8.         void takeTest();
  9.         void getVersion(int);
  10.         void checkAnswers(const int a[100][2]);
  11.         void checkGrade();
  12.         void returnAnswers(int[100]);
  13.                 int getSN();
  14.                 void getCorrect(int pubAnswers[100]);
  15.                 int getGrade();
  16.                 void StudentWrite();
  17.                 void printGrades(int pubAnswers[]);
  18.                 void loadCorrect(int tempE);
  19. private:
  20. //Students answers to the test
  21.         int answers[100];
  22. //Students test version
  23.         int keyNumber;
  24. //The number of questions the student got right
  25.         int totalCorrect[100];
  26. //Students Grade
  27.         int grade;
  28. //Student Number
  29.         int studentNumber;
  30.  
  31. };
  32.  
  33. #endif
  34.