📄 error.cpp
字号:
// Error.cpp: implementation of the Error class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "Error.h"
#include "string.h"
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
//int Error::NOERROR; //没有错误
char Error::m_strErrorMsg [ERROR_MAX_WORD];
Error::Error()
{
m_strErrorMsg[0]=0;
}
Error::~Error()
{
}
void Error::SetLastError(char *pMsg)
{
strcpy(m_strErrorMsg,pMsg);
}
char * Error::GetLastError()
{
return m_strErrorMsg;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -