Open main menu

CDOT Wiki β

Changes

The CIO Framework - OOP344 20123

59 bytes added, 13:15, 26 November 2012
Constructors / Destructor
if len is zero, it will allocate enough memory to store the string pointed by Str and then copies the Str into it.
if len > 0, then it will allocate enough memory to store '''len''' chars, copying only len characters of str.
In any way, the allocated memory is pointed by '''_data'''. Also it will set the width to length of memory allocated.
<big><syntaxhighlight lang="cpp">
CLabel(int Row, int Col, int Len);