1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
// Main.cpp
#include <iostream>
#include <string>
#include "HockeyTeam.h"
using namespace std;
int main()
{
HockeyPlayer center("Lemieux", "Center", 66);
HockeyPlayer leftWing("Hossa", "Left Wing", 30);
HockeyPlayer rightWing("Jagr", "Right Wing", 68);
HockeyPlayer leftDefenseman("Kasparitis", "Left Defenseman", 00);
HockeyPlayer rightDefenseman("Borque", "Right Defenseman", 00);
HockeyPlayer goalie("Roy", "Goalie", 00);
HockeyTeam penguins(center, leftWing, rightWing, leftDefenseman, rightDefenseman, goalie);
penguins.getTeam();
return 0;
}
|