curveball.h

来自「这是学习c++的一些编译过的示例,经典的,希望对你有用.」· C头文件 代码 · 共 12 行

H
12
字号
// Exercise 17.1 CurveBall.h
// Definition of CurveBall Exception class

#ifndef CURVEBALL_H
#define CURVEBALL_H
#include <exception>

class CurveBall: public std::exception {
  public:
    const char* what() const throw();
};
#endif //CURVEBALL_H

⌨️ 快捷键说明

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