curveball.h
来自「一本语言类编程书籍」· C头文件 代码 · 共 18 行
H
18 行
// Exercise 17.2 CurveBall.h
// Definition of CurveBall and TooManyExceptions exception classes
#ifndef CURVEBALL_H
#define CURVEBALL_H
#include <exception>
class CurveBall: public std::exception {
public:
const char* what() const throw();
};
class TooManyExceptions: public std::exception {
public:
const char* what() const throw();
};
#endif //CURVEBALL_H
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?