exception.h
来自「一个简单灵活的数据挖掘实验平台」· C头文件 代码 · 共 20 行
H
20 行
#ifndef _MYEXCEPTION_
#define _MYEXCEPTION_
#include <string>
using namespace std;
class Exception
{
public:
Exception();
Exception(const char* msg);
Exception(const string& msg);
Exception(Exception& ex);
~Exception();
public:
//: Get the error message
string message() const;
private:
string msg; //: store the error message
};
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?