Open main menu

CDOT Wiki β

Changes

Console UI Core Classes - OOP344 20113

385 bytes removed, 09:52, 8 November 2011
Methods
</syntaxhighlight></big>
*These methods set and get _flag.
 
Always returns true;
<big><syntaxhighlight lang="cpp">
void set(const void* str);
</syntaxhighlight></big>
Reallocate memory for new text and then set it to content of '''str'''<br />
hint:<br />
:''First deallocated what is pointed by Field's '''_data'''.''<br />
:''Then allocate new memory to the size of content of '''str''' and copy the content into it and make Field's '''_data''' point to it.''