1 ///////////////////////////////////////////////////////////
2 // Softwarebauelemente II, Aufgabe C1.2
3 //
4 // author: Stephan Brumme
5 // last changes: July 3, 2001
6
7
8 #include "Date.h"
9 #include "Room.h"
10 #include "CashOffice.h"
11 #include "House.h"
12
13 #include <iostream>
14 using namespace std;
15
16
17 void main()
18 {
19 set<CRoom> roomSet;
20 set<CCashOffice> cofSet;
21
22 CRoom room(5,10);
23 CRoom room2(6,7);
24 roomSet.insert(room);
25
26 CCashOffice cof(1,2,3);
27 cofSet.insert(cof);
28
29 CHouse house;
30 house.Insert(room);
31 house.Insert(room2);
32 cout << house.Show();
33 }
34