今天写栈的代码的时候出现了如下没见过的bug
内容是:
Microsoft Visual C++ Runtime Library
Debug Assertion Failed!
Program:
File: f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\filecore.cpp
Line: 179
For information on how your program can cause an assertion
failure, see the Visual C++ documentation on asserts.
(Press Retry to debug the application)
查了半天发现是野指针的问题(释放了数组中的节点的空间后在此对其进行访问),删除该段语句即可