Toggle navigation
Home
Latest pastes
FAQ
Random
BitBin is shutting down!
Register
Login
League.h
SUBMITTED BY:
Guest
DATE:
Sept. 5, 2014, 9:08 p.m.
FORMAT:
C++
SIZE:
465 Bytes
Raw
Download
Tweet
HITS:
597
Go to comments
Report
#ifndef SLEAGUE_H_INCLUDED
#define SLEAGUE_H_INCLUDED
class
Team
{
int
skill
;
int
form
;
public
:
char
name
[];
Team
(
char
*
,
int
,
int
);
Team
();
int
setskill
(
int
s
);
int
setform
(
int
f
);
};
class
League
{
Team
*
teams
;
int
teamcnt
;
public
:
League
();
int
leagueteams
();
int
addteam
(
Team
&
n
);
void
printteams
();
};
#endif
// SLEAGUE_H_INCLUDED
Please enable JavaScript to view the
comments powered by Disqus.
comments powered by
Disqus