Changes

Jump to: navigation, search

Assignment 2 (Release 0.2): Q & A

3 bytes removed, 14:02, 4 November 2012
Q & A
'''Q:''' The CLabel::draw(int) function receives a parameter that indicates the border's visibility i.e. C_NO_FRAME or C_FULL_FRAME. However, the specifications state that a label is never bordered, so how would we make use of the parameter passed through this function?<br>
'''Question Submitted by:''' Team 15<br>
'''A:''' No, the parameter value will NOT be used for drawing a CLabel object. (pliu) <br>'''Answer Submitted by:'pliu'' <br><br>
'''Q:''' The CLine constructor (the first one which takes the line's data as a parameter) is supposed to pass this parameter's address directly to the CField constructor (according to the specifications) which takes a void* data argument. But, since the data parameter in CLine has const attached to it, we cannot send it to the CField constructor. How would we resolve this?<br>
1
edit

Navigation menu