Advertisement
Guest User

Untitled

a guest
Mar 20th, 2018
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.85 KB | None | 0 0
  1. #ifndef STRUCTS_H_INCLUDED
  2. #define STRUCTS_H_INCLUDED
  3.  
  4. struct Schools
  5. {
  6. int numberOfSchools;
  7. std::string nameOfSchool;
  8.  
  9. Schools();
  10. };
  11.  
  12. Schools::Schools(){
  13. numberOfSchools = 0;
  14. nameOfSchool = "";
  15. }
  16.  
  17. struct Teams
  18. {
  19. int teamID;
  20. int numberOfPlayers;
  21. double meanAbilityScore;
  22. double medianAbilityScore;
  23. int matches[38];
  24.  
  25.  
  26. Teams();
  27.  
  28. };
  29.  
  30. Teams::Teams(){
  31. teamID = 0;
  32. numberOfPlayers = 0;
  33. meanAbilityScore = 0.0;
  34. medianAbilityScore = 0.0;
  35. }
  36.  
  37.  
  38. struct Player
  39. {
  40. int playerNumber;
  41. double abilityScore;
  42.  
  43. Player();
  44. };
  45.  
  46. Player::Player(){
  47. playerNumber = 0;
  48. abilityScore = 0.0;
  49. }
  50.  
  51. struct Games
  52. {
  53. int win;
  54. int loss;
  55. int matches[38];
  56.  
  57. Games ();
  58. };
  59.  
  60. Games::Games(){
  61. win = 0;
  62. loss = 0;
  63. }
  64. #endif // STRUCTS_H_INCLUDED
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement