📄 exceptionclass.h
字号:
#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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -