Open main menu

CDOT Wiki β

Changes

Assignment 2 (Release 0.2): Q & A

84 bytes added, 14:25, 4 November 2012
Q & A
'''Question Submitted by:''' Team 15<br>
'''A:''' No, the parameter value will NOT be used for drawing a CLabel object. <br>
'''Answer Submitted by:pliu'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>
'''Question Submitted by:''' Team 15<br>
'''A:''' Good observation! Declare the data parameter without using the const keyword. <br>'''Answer Submitted by:pliu''' <br><br>
== Bug Reports ==
1
edit