📄 laexcp.h
字号:
// LAPACK++ (V. 1.1)// (C) 1992-1996 All Rights Reserved.//// C++ exception handling is not currently supported by most compilers.// The macros below allow one to "mimic" the throw expression of// character strings. Transfer of control does not correspond// to a "try" block, but rather exits the program with the proper// banner. This is a similar behavior to the real exception handling// if there was no explicit user-supplied try block.//#ifndef _LA_EXCEPTION_H_#define _LA_EXCEPTION_H_#include <iostream.h>#include <stdlib.h>#define LaException(where, what) where , what#define throw throw_inline void throw(const char *where, const char *what){ cerr << "Exception: " << where << " " << what << endl; exit(1);}#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -