All pastes #388259 Raw Edit

Unnamed

public c v1 · immutable
·published 2007-03-09 23:01 UTC
rendered paste body
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; i<g_list_length(oldList); i++)	{		oldSpec = (CTableArtSpec*)g_list_nth_data(oldList,i);		cout << "Artikel: " << oldSpec->getNum() << " " 			 << oldSpec->getName() << " "			 << oldSpec->getPrice() << "\n";	}			cout << "------------------------------------------------------\n";}