Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <fstream>
- #include <iostream>
- #include <cstring>
- #include <string>
- #include <iomanip>
- #include <cstdlib>
- // This should be at the very top of the file and should also be a
- // less common phrase
- #ifndef STDNT
- #define STDNT
- // Especially don't use std in a header file.
- using namespace std;
- // Add whitespace between student and {
- class student{
- private:
- float hpTotalScore, testsTotalScore;
- float gradeInt;
- int stuHomeworkParticipationScores[10];
- int stuTestScores[4];
- char letGrade;
- string stuID, stuName;
- public:
- // You should probably add a constructor that initializes
- // everything to a default value.
- string setName(string name);
- string setID(string id);
- int setHPScores(int hpScores[]);
- int setTestScores(int tScores[]);
- };
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement