int main_menu() { int choice; int i; for(i=0; i<(MAX_VERT/2); i++) cout<>choice; //get menu choice cin.ignore(1); //ignore '\n' return choice; } //prints document header void Document::PrintHeader() { int stars; char name_buf[20]; if(name[0] == 0) strcpy(name_buf, "Untitled"); else strcpy(name_buf, name); stars = (MAX_HORI-strlen(name_buf))/2; cout<GetPageNumber(); int stars; if(activePagePtr->GetPageNumber() > 9) title_length++; if(num_pages > 9) title_length++; stars = (MAX_HORI-title_length)/2; for(int i=0; i