sources:
BasicClass.cpp (550 bytes)
BasicClass.h (1.4k)
Date.cpp (3.8k)
Date.h (2.2k)
House.cpp (4.9k)
House.h (2.4k)
O2_1.cpp (619 bytes)
Room.cpp (2.3k)
Room.h (1.4k)


website:
more info here
studies/bauelemente/Softwarebauelemente-CodeO2-1/BasicClass.cpp
download file

  1 ///////////////////////////////////////////////////////////
  2 // Softwarebauelemente II, Aufgabe O2.1
  3 //
  4 // author: Stephan Brumme
  5 // last changes: February 26, 2001
  6
  7 #include "BasicClass.h"
  8
  9
 10 CBasicClass::CBasicClass()
 11 {
 12 }
 13
 14 CBasicClass::~CBasicClass()
 15 {
 16 }
 17
 18
 19 // show attributes
 20 void CBasicClass::Show() const {
 21     // print any information about this class
 22     OutStream(cout, false);
 23 }
 24
 25
 26 // shows all internal attributes
 27 void CBasicClass::ShowDebug() const {
 28     // first parameter is display stream
 29     OutStream(cout, true);
 30 }
 31
 32