Here is what I have done and not sure how to proceed from here:
cons tint MAX_LINE = 20; const int MAX_CHAR=100; const int MAX_PAGES=1000; class Page { char aPage[MAX_LINE][MAX_CHAR]; public: void print(); void edit(); void edit_line(int i); void delete_line(int i); }; typedef Page *Pagestr; class Editor{ Pagestr *Pages; int cur; int total; public: Editor(); void show_command(); void display_current_page(); void next(); void prev(); void edit(); };