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.
我的程序运行到调用new关键字会导致上述错误的地步。即char* a = new char[100]。错误是可重现的,并且每次都可以重现。我运行程序直到调用new关键字。似乎内存位置已损坏,但我不确定他的问题是什么。
char* a = new char[100]
此错误的可能原因是什么?
此错误表示您已损坏系统内存管理器的簿记数据。这种损坏通常是错误使用指针的结果,例如