Changes

Jump to: navigation, search

OOP344 20131 - Microhard

1,279 bytes added, 16:31, 30 March 2013
Milestone 0.8 and 0.9
Developer: Hanho Ko
Reviewer:Sivathanushan Easwaran
Developer: Sivathanushan Easwaran
Reviewer:Hanho Ko
Developer:
 
Reviewer:
 
==Milestone 0.8 and 0.9==
 
 
'''CText'''
 
Developer: Hanho Ko
 
Reviewer:
 
 
'''CCheckList'''
 
Developer: Sivathanushan Easwaran
 
Reviewer:
 
 
'''CMenu(optional)'''
 
Developer:
Reviewer:
==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"
 
Edit: If you need to view my full code, you can see it in my branch CCheckMark
 
Edit2: I think I fixed the error. It would still be great if someone could check it.
 
Reply by Hanho Ko:
* I've seen your code, and I think everything is good. It's compiled without any errors but 1 warning. I think we don't have to care about this warning...
* and I fixed 2 lines. I push it to your branch, you can check differences.
 
---S.E.
1
edit

Navigation menu