Open main menu

CDOT Wiki β

Changes

OOP344 Assignment Two

200 bytes added, 01:49, 5 November 2009
IO_Frame
If however, the '''frameChars''' argument is missing (it is NULL) then a defaut, defined value in "io_def.h"; '''_FRAME_CHARS''' should be used.
===Public Methods=== ====display()====<big><pre>void display(void);</pre><hr width="50%" /big>'''display()''', displays the frame with the specified coordinates and size in its constructor====getLeft()=Public Method=== <big><pre>int getLeft();</pre></big> returns '''_left''' attribute;<big><pre>int getTop();</pre></big> returns '''_top''' attribute;
<big><pre>
void Displayset(voidint top, int left);
</pre></big>
'''Display()''', displays the frame with the specified coordinates and size in its constructor
<hr width="50%" />sets '''_top and _left''' attributes to corresponding arguments.
===Destructor===
IO_Frame has a virtual destructor. This destructor does nothing.
<hr width="50%" />
 
<hr width="50%" />
 
<hr width="50%" />
==IO_Form==