2017年9月17日

类成员的指针必须NULL化,否则是乱七八糟的东西

摘要: class BiTree { public: BiTree(); virtual ~BiTree(); virtual void insertNode(Node * newNode); virtual void deleteNode(Node * delNode); virtual void searchN... 阅读全文

posted @ 2017-09-17 14:14 shoutcharter 阅读(215) 评论(0) 推荐(0) 编辑

超前引用不可使用类名来定义变量和函数的变量参数,只可用来定义引用或者指针。

摘要: C:\Users\Administrator\Documents\TreeView\mainwindow.h:31: error: C2079: 'MainWindow::mytree' uses undefined class 'BiTree' 超前引用不可使用类名来定义变量和函数的变量参数,只可 阅读全文

posted @ 2017-09-17 13:45 shoutcharter 阅读(235) 评论(0) 推荐(0) 编辑

导航