League.h


SUBMITTED BY: Guest

DATE: Sept. 5, 2014, 9:08 p.m.

FORMAT: C++

SIZE: 465 Bytes

HITS: 597

  1. #ifndef SLEAGUE_H_INCLUDED
  2. #define SLEAGUE_H_INCLUDED
  3. class Team{
  4. int skill;
  5. int form;
  6. public:
  7. char name[];
  8. Team(char*,int,int);
  9. Team();
  10. int setskill(int s);
  11. int setform(int f);
  12. };
  13. class League{
  14. Team* teams;
  15. int teamcnt;
  16. public:
  17. League();
  18. int leagueteams();
  19. int addteam(Team &n);
  20. void printteams();
  21. };
  22. #endif // SLEAGUE_H_INCLUDED

comments powered by Disqus