Friday, November 27, 2009

Assignment progress

Looked at IO_Vedit last night to try and get some work done. I was confused by a few things; We can't have conditional inheritance in the sense that. a Frame is always created but if you display() it or not is based on bool framed. However that being said, we do need to change IO_Field(row, col) at the moment of creation based on wether the field is framed or not(row+1 and col+1, because of the frame). So how do I go about doing that? is there some way to control that without creating an extra set() function within IO_Field. Moreover another confusion I had was, how do I go about calling io_edit::display() when io_vedit and io_edit are not related?

No comments:

Post a Comment