Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在这条线上遇到了异常
this->root = new node;
在 Visual C++ 中。请注意,它node是一个struct并且root是指向节点结构的指针(此行之前为空)
node
struct
root
我该如何解决这个问题,或者为什么会这样?
已解决的类实例化已被 Visual Studio 表单设计器删除,但仍会调用该方法,并且该方法不是静态的,有人知道为什么吗?