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

📄 aerror.h

📁 This program is free software you can redistribute it and/or modify it under the terms of the GN
💻 H
字号:
/** AError.h:*	Macro definitions for system error treatment** Version:	1.0* Date:		Thu May  6, 1999* Copyright (C) 1999, Arturo Gonzalez Escribano*/#ifndef AERROR_H#define AERROR_H#define Asystem_error(origin,diagnostic,checkpoint)			\		{							\		fprintf(stderr,						\			"Error in FILE %s[%d] %s: %s - %s\n",		\			__FILE__, __LINE__,				\			origin, diagnostic,checkpoint );		\		exit(1);						\		}#ifdef DEBUG#define Assert(E)	if (! (E))	\			printf("Assert failed in file %s, line %d: '%s'\n",\							__FILE__,__LINE__,#E);#else#define Assert(E)       {} /* no Assert */#endif#define CheckError(E,checkpoint)	if (! (E)) {	\			fprintf(stderr,"Error %s\n", checkpoint); exit(1); }#endif /* AERROR_H */

⌨️ 快捷键说明

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