diff options
| author | Sven Eisenhauer <sven@sven-eisenhauer.net> | 2023-11-10 15:11:48 +0100 |
|---|---|---|
| committer | Sven Eisenhauer <sven@sven-eisenhauer.net> | 2023-11-10 15:11:48 +0100 |
| commit | 33613a85afc4b1481367fbe92a17ee59c240250b (patch) | |
| tree | 670b842326116b376b505ec2263878912fca97e2 /Bachelor/Prog2/Prakt3/Aufg1/Table.h | |
| download | Studium-master.tar.gz Studium-master.tar.bz2 | |
Diffstat (limited to 'Bachelor/Prog2/Prakt3/Aufg1/Table.h')
| -rw-r--r-- | Bachelor/Prog2/Prakt3/Aufg1/Table.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/Bachelor/Prog2/Prakt3/Aufg1/Table.h b/Bachelor/Prog2/Prakt3/Aufg1/Table.h new file mode 100644 index 0000000..968cd26 --- /dev/null +++ b/Bachelor/Prog2/Prakt3/Aufg1/Table.h @@ -0,0 +1,21 @@ +#ifndef _TABLE_H_
+#define _TABLE_H_
+
+#include <iostream>
+#include <vector>
+#include "Team.h"
+
+using std::ostream;
+using std::vector;
+
+class Table
+{
+public:
+ void setTeam(const Team&);
+ void print(ostream&);
+ void sort();
+private:
+ vector <Team> teams;
+};
+
+#endif //_TABLE_H_
|
