exceptionclass.h
来自「<B>很多DirectX 9.0游戏编程源码例子</B>」· C头文件 代码 · 共 25 行
H
25 行
#ifndef CEXCEPTION_CLASS_H
#define CEXCEPTION_CLASS_H
#include <stdio.h>
#include <string.h>
class CExceptionData
{
public:
char szMessage[512];
int iCode;
};
class CException
{
CExceptionData Data;
public:
CException(){};
~CException(){};
void vSetData(char *szmsg, int icode);
const CExceptionData GetReason() const { return Data; }
};
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?