CMemoryException对象代表了内存溢出的异常条件。不需要进一步的条件或可能性。内存异常由new自动产生。如果已经编写了自己的成员函数,例如使用malloc,那么有责任产生内存异常。
CMemoryException
计算机
继承关系
#include <afx.h>
CMemoryException类的成员
CMemoryExceptio构造一个CMemoryException对象
try
{
}
catch (CMemoryException* e)
catch (CFileException* e)
catch (CException* e)