Open main menu

CDOT Wiki β

Changes

OOP344 Assignment Two

No change in size, 13:41, 26 October 2009
IO_Label
This constructor will create an empty (blank) IO_Label with capacity of len characters.
In this case '''row''' and '''col''' are passed to the parent for initialisation and '''_len''' (the atterbuteattribute) is set to the incoming argument '''len'''.
Then IO_Field::_data will be set to the address of a newly allocated memory to the size of '''_len + 1 ''' bytes which also will be set to an empty string.
1
edit