关于栈溢出
写了一个代码,宏定义了一些变量 N M,这两个数据定义了一些数组的大小.设置了 好几组数据
N M
4 16 正常运行
8 32 正常运行
10 40 正常运行
11 44 栈溢出,0x00e05e99 处有未经处理的异常: 0xC00000FD: Stack overflow
跳到这个函数位置
void _Orphan_me()
{ // cut ties with parent
#if _ITERATOR_DEBUG_LEVEL == 2
if (_Myproxy != 0)
{ // adopted, remove self from list
_Iterator_base12 **_Pnext = &_Myproxy->_Myfirstiter;
while (*_Pnext != 0 && *_Pnext != this)
_Pnext = &(*_Pnext)->_Mynextiter;
if (*_Pnext == 0)
_DEBUG_ERROR("ITERATOR LIST CORRUPTED!");
*_Pnext = _Mynextiter;
_Myproxy = 0;
}
#endif /* _ITERATOR_DEBUG_LEVEL == 2 */
}
_Container_proxy *_Myproxy;
_Iterator_base12 *_Mynextiter;
};
哪位高手知道怎么解决。