int main() { char input; cout << "========= R E S T A U R A N T S I N C U P E R T I N O ========="; listHead *restaurants = new listHead(hashSize); readFile(restaurants); restaurants->getHashPtr()->printHashTableSequence(); // Display menu displayMenu(); // Get user's input input = getUserInput(); // While the user does not want to quit... while (input != 'q') { // Call appropriate operation operationManager(restaurants, input); // Get user's input input = getUserInput(); } saveToFile(restaurants); cout << "\n======================== T H A N K Y O U ========================="; }
void CadMdiChild::cancelCurrentOperations() { operationManager()->cancel(); }