📄 stdafx.h
字号:
/* * stdafx.h * * Copyright (C) 1999 Stephen F. White * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program (see the file "COPYING" for details); if * not, write to the Free Software Foundation, Inc., 675 Mass Ave, * Cambridge, MA 02139, USA. */// stdafx.h : include file for standard system include files,// or project specific include files that are used frequently, but// are changed infrequently//#ifndef _STDAFX_H#define _STDAFX_H// yet another stringcompare...#define stringncmp(x,y) strncmp(x,y,strlen(y))#include "config.h"#define EPSILON 1E-6#define EQUALF(a, b) (fabs((a) - (b)) < EPSILON)#ifndef RAD2DEG#define RAD2DEG(a) ((a) * (180.0f / PI))#define DEG2RAD(a) ((a) * (PI / 180.0f))#endif#ifdef HAVE_WANT_CORE extern void coredump(void);# ifndef NDEBUG# undef _ASSERT_H# define _ASSERT_H# undef assert# define assert(x) { if (!(x)) coredump(); }# endif#endif#endif // _STDAFX_H
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -