Changes

Jump to: navigation, search

The CIO Framework - OOP344 20123

8 bytes added, 14: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 the length of the memory allocated.
<big><syntaxhighlight lang="cpp">
CLabel(int Row, int Col, int Len);

Navigation menu