⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 exception.h

📁 一个在linux下的shell的计算器
💻 H
字号:
/* * * * */#ifndef __EXCEPTION_H#define __EXCEPTION_H#include "item.h"//////class Exception{ public:  virtual std::string ToString() = 0;  virtual ~Exception();};//////class StackError: public Exception{ public:  std::string ToString();};//////class UnknownOperation: public Exception{ private:  std::string name; public:  UnknownOperation(std::string op);  std::string ToString();};//////class UnknownVariable: public Exception{ private:  std::string name; public:  UnknownVariable(std::string var);  std::string ToString();};//////class InvalidConversion: public Exception{ private:  itemtype fromtype, totype; public:  InvalidConversion(itemtype from, itemtype to);  std::string ToString();};#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -