Advertisement
Guest User

Untitled

a guest
Apr 22nd, 2017
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.78 KB | None | 0 0
  1. #include <fstream>
  2. #include <iostream>
  3. #include <cstring>
  4. #include <string>
  5. #include <iomanip>
  6. #include <cstdlib>
  7. // This should be at the very top of the file and should also be a
  8. // less common phrase
  9. #ifndef STDNT
  10. #define STDNT
  11. // Especially don't use std in a header file.
  12. using namespace std;
  13.  
  14. // Add whitespace between student and {
  15. class student{
  16. private:
  17. float hpTotalScore, testsTotalScore;
  18. float gradeInt;
  19. int stuHomeworkParticipationScores[10];
  20. int stuTestScores[4];
  21. char letGrade;
  22. string stuID, stuName;
  23. public:
  24. // You should probably add a constructor that initializes
  25. // everything to a default value.
  26. string setName(string name);
  27. string setID(string id);
  28. int setHPScores(int hpScores[]);
  29. int setTestScores(int tScores[]);
  30. };
  31. #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement