Sent this to Jonathan today I'm hitting (naturally) on some rocky road:
Jonathan,
I'm currently having trouble with the bold. For the constructor it states, if it is framed then pass row+1, col+1 to IO_Field. I'm getting errors saying it cannot pass pointer. The other trouble im having is trying to retrieve the value for top in io_frame. As you are aware, top is private :$. so I called the function getTop but I can't do that. We'll talk tomorrow!
//pass to IO_Field Constructor
//if (framed) {
// IO_Field::IO_Field(row+1, col+1);
//}
//else
// IO_Field::IO_Field(row, col);
}
void IO_Edit::display() const {
int Top;
Top = _owner->getTop()+0;
}
Wednesday, November 11, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment