#include #include #include "assert.h" #include using namespace std; typedef ? LIBRARY_TYPE; typedef ? PEOPLE_TYPE; void addItem(LIBRARY_TYPE& library); void checkoutItem(LIBRARY_TYPE& library, PEOPLE_TYPE& people); void returnItems(LIBRARY_TYPE& library, PEOPLE_TYPE& people); void lookup(LIBRARY_TYPE& library); void printPeople(PEOPLE_TYPE& people); int main() { LIBRARY_TYPE library; PEOPLE_TYPE people; char c; while (cin >> c) { if (c == 'a') { addItem(library); } else if (c == 'c') { checkoutItem(library,people); } else if (c == 'r') { returnItems(library,people); } else if (c == 'l') { lookup(library); } else if (c == 'p') { printPeople(people); } else { cerr << "error unknown char " << c << endl; exit(0); } } } void addItem(LIBRARY_TYPE& library) { string title; int num; cin >> num >> title; } void checkoutItem(LIBRARY_TYPE& library, PEOPLE_TYPE& people) { string name; string title; cin >> name >> title; } void returnItems(LIBRARY_TYPE& library, PEOPLE_TYPE& people) { string name; cin >> name; } void lookup(LIBRARY_TYPE& library) { string title; cin >> title; } void printPeople(PEOPLE_TYPE& people) { }