Changes

Jump to: navigation, search

OOP344 20131 - Microhard

635 bytes added, 03:08, 25 March 2013
CCheckMark Request for Help
==Discussion==
 
For CCheckMark, can anyone tell me how to,
* 'directly initialize _Label with Text, 0, 4, and (Width-4) for Str, Row, Col and Len, arguments of CLabel's Constructor' in function CCheckMark(bool Checked,const char* Format, const char* Text, int Row, int Col, int Width, bool IsRadio = false)
* 'directly initialize the _Label with the _Label of C' in function CCheckMark(const CCheckMark& C)
 
I tried the following
* CLabel _Label (Text, 0, 4, (Width-4));
* CLabel _Label(C._Label);
 
But I think I did something wrong, because I get the following error in both functions
 
: Error: no default constructor exists for class "cio::CLabel"

Navigation menu