Open main menu

CDOT Wiki β

Changes

OOP344 Assignment Two

95 bytes added, 02:38, 2 November 2009
Setting General Error and Help masseges
<hr width="50%" />
<big><pre>
 
=====Number of fields in Form=====
int lenght();
</pre></big>
Returns number of fields currently in IO_Form.
<hr width="50%" />
 
=====Acessing Field Data=====
<big><pre>
void* data(unsigned int fieldnumber=0);
Returns address of the data of "fieldnumber"th, IO_Field in the IO_Form. If "fieldnumber" is zero, then it returns the data of the current IO_Field.
<hr width="50%" />
=====The index operator=====
<big><pre>
IO_Field& operator[](unsigned int index);