常见VS调试C++程序报错

debug时VS为了更快得帮程序员检测出内存问题,因此对初始化后的内存和释放后的内存做了一些处理,有:

0xcdcdcdcd - Created but not initialised (分配空间了,但是没初始化比如说刷成0,没调用构造函数)

0xdddddddd - Deleted (指针已经delete了,还调用它,也就是调用了已经delete的内存...)

0xfeeefeee - Freed memory set by NT's heap manager

0xcccccccc - Uninitialized locals in VC6 when you compile w/ /GZ

0xabababab - Memory following a block allocated by LocalAlloc()
 

你可能感兴趣的:(mfc)