I have a class with a constructorI also have a stack of pointers of type HTblock called tower. I need to Apply Draw() function for each HTblock in the "tower" stack as inCode:HTblock(int width, COLORREF color);im having trouble getting this to work as i've tried different methods to do this including assigning a temporary variable to get from the tower.push() call.Code:block_pointer->Draw(m_window,x,y);
however i cant seem to get a syntax that works. I can clarify if i am not clear in what im trying to do.
Help would be much appreciated,