Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef STRUCTS_H_INCLUDED
- #define STRUCTS_H_INCLUDED
- struct Schools
- {
- int numberOfSchools;
- std::string nameOfSchool;
- Schools();
- };
- Schools::Schools(){
- numberOfSchools = 0;
- nameOfSchool = "";
- }
- struct Teams
- {
- int teamID;
- int numberOfPlayers;
- double meanAbilityScore;
- double medianAbilityScore;
- int matches[38];
- Teams();
- };
- Teams::Teams(){
- teamID = 0;
- numberOfPlayers = 0;
- meanAbilityScore = 0.0;
- medianAbilityScore = 0.0;
- }
- struct Player
- {
- int playerNumber;
- double abilityScore;
- Player();
- };
- Player::Player(){
- playerNumber = 0;
- abilityScore = 0.0;
- }
- struct Games
- {
- int win;
- int loss;
- int matches[38];
- Games ();
- };
- Games::Games(){
- win = 0;
- loss = 0;
- }
- #endif // STRUCTS_H_INCLUDED
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement