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