// main driver for idDescTable class. #include "idDescTab.h" #include int main() { idDescTable* anIdDescTable = new idDescTable(); bool aBool; cout << "Testing createEntry(int idx)...\n"; aBool = anIdDescTable->createEntry(1, 0); anIdDescTable->saveLevel(1, 0); anIdDescTable->saveAddr(1, 250); anIdDescTable->saveKind(1, true); anIdDescTable->saveType(1, 3); anIdDescTable->seeIdDescTable(); aBool = anIdDescTable->createEntry(1, 1); anIdDescTable->saveLevel(1, 1); anIdDescTable->saveAddr(1, 500); anIdDescTable->saveKind(1, true); anIdDescTable->saveType(1, 5); anIdDescTable->seeIdDescTable(); return 0; }