void printTableContent(CTable* activeTable) { GList* oldList = activeTable->getArtSpecList(OLD_LIST); GList* newlist = activeTable->getArtSpecList(NEW_LIST); CTableArtSpec* oldSpec=NULL; CTableArtSpec* newSpec=NULL; cout << "------------------------------------------------------\n"; cout << "-> Tisch [Nummer: " << activeTable->getNum() << " | Name: " << activeTable->getName() << "] hat den Inhalt:\n"; cout << "ALT: \n"; for(int i=0; igetNum() << " " << oldSpec->getName() << " " << oldSpec->getPrice() << "\n"; } cout << "------------------------------------------------------\n"; }