-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTeams.cpp
More file actions
executable file
·51 lines (38 loc) · 1.04 KB
/
Teams.cpp
File metadata and controls
executable file
·51 lines (38 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
/*
* Teams.cpp
*
* Created on: Jan 13, 2015
* Author: Explicitness
*/
#include <stdio.h>
#include <iostream>
#include <string>
#include "Teams.h"
void Team::printTeam()
{
std::cout << "The name of the team is: " << nameTeam << std::endl;
std::cout << "The sport of the team is: " << sportOfTeam << std::endl;
std::cout << "The team is located in: " << locTeam << std::endl;
std::cout << "The team colors are: " << colorTeam << std::endl;
std::cout << "The team mascot is: " << mascotTeam << std::endl;
std::cout << "The team's record is: " << *winTeam << " - ";
std::cout << *lossTeam << " - ";
std::cout << *tiesTeam << std::endl;
}
Team Team::createTeam()
{
std::string name;
std::string sprot;
std::string location;
std::string color;
//std::string
std::cout << "Enter the name of the team: " << std::endl;
//std::cin >> ;
}
int main()
{
Team Cowboys("Cowboys", "Football", "Dallas, Texas", "Blue, White, and Silver", "A Cowboy", 12, 5, 0);
//Team Giants("","","","","",0,0,0);
Cowboys.printTeam();
return(0);
}