Open main menu

CDOT Wiki β

Changes

OOP344 Assignment Two

6 bytes added, 20:27, 23 November 2009
m
IO_Edit
Inherit IO_Field and IO_Frame into a new class called IO_Edit. (Read: Practical Programming Techniques Using C++, pages 94 to 96, ''Multiple Inheritance'' topic)
IO_Edit, encapsulates the '''[[OOP344_Assignment_One#Line_and_Selection_Editor|io_edit()]] ''' function of ciol library when isTextEditor is false. IO_Edit calls the io_edit function to edit a string that is either created dynamically by the IO_Edit itself, or a string that is external and is received through the constructor arguments.
Also IO_Edit gives the user the option of surrounding the editing line with a frame.
1
edit