sources:
BasicClass.h (1.4k)
CashOffice.cpp (3.6k)
CashOffice.h (1.7k)
Date.cpp (6.0k)
Date.h (2.9k)
Exception.cpp (2.5k)
Exception.h (1.4k)
House.cpp (7.5k)
House.h (2.5k)
O3_5.cpp (577 bytes)
Room.cpp (2.9k)
Room.h (1.5k)


binaries:
Release/O3_5.exe (132.0k)


website:
more info here
studies/bauelemente/Softwarebauelemente-CodeO3-5/O3_5.cpp
download file

  1 ///////////////////////////////////////////////////////////
  2 // Softwarebauelemente II, Aufgabe O3.5
  3 //
  4 // author: Stephan Brumme
  5 // last changes: June 27, 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     CHouse myHouse(CDate(27,12,1978));
 20
 21     myHouse.Insert(CCashOffice(10,20,1));
 22     myHouse.Insert(CCashOffice(11,21,2));
 23
 24     cout<<"ForEachDo: "<<endl         <<myHouse.ShowUsingForEachDo()<<endl;
 25     cout<<"STL: "<<endl         <<myHouse.Show()<<endl;
 26 }
 27