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

📄 except.h

📁 这是一本学习 window编程的很好的参考教材
💻 H
字号:
#ifndef _except_h_
#define _except_h_

#ifndef W2K_ONLY
#pragma warning( disable : 4102 ) /*  suppress "unreferenced label" message */

/** The MSDN says nothing about __leave in try-except, but the compiler accepts it.
 * This is how it is done in GCC (http://reactos.wox.org/index.php?page=gccseh):
 * __leave // Jump to closing brace of try block.
 * And so do we, jump to beginning of __except() and __finally.
 */
#define __except(filter)	___finally: if(0)	//not supported: never execute this block
#define __try									//always execute, nothing needed
#define __finally			___finally:			//label for the "finally" block
#define __leave				{goto ___finally;}	//Jump to that label

#endif

#endif // _except_h_

⌨️ 快捷键说明

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