📄 begin_code.h
字号:
/* created: 31 Jan 2002 by Peter Pipenbacher authors: Peter Pipenbacher (pipenb@zpr.uni-koeln.de) file : $Source: /cvsroot/ghmm/ghmm/ghmm++/begin_code.h,v $ $Id: begin_code.h,v 1.4 2002/10/27 13:40:32 pipenb Exp $ Copyright (C) 1998-2001, ZAIK/ZPR, Universit鋞 zu K鰈n 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; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *//* This shouldn't be nested -- included it around code only. */#ifdef _begin_code_h#error Nested inclusion of begin_code.h#endif#define _begin_code_h#ifdef HAVE_CONFIG_H# include "config.h"#endif/* Windows has namespaces */#if defined(WIN32) # ifdef _MSC_VER# pragma warning(disable: 4251)# endif# if ! defined(HAVE_NAMESPACES)# define HAVE_NAMESPACES# endif#endif/* Some compilers use a special export keyword */#ifndef DECLSPEC# ifdef __BEOS__# if defined(__GNUC__)# define DECLSPEC __declspec(dllexport)# else# define DECLSPEC __declspec(export)# endif# else# ifdef WIN32# ifdef GHMM_EXPORTS# define DECLSPEC __declspec(dllexport)# else# define DECLSPEC __declspec(dllimport)# endif# else# define DECLSPEC# endif# endif#endif/* some standard includes */#ifdef HAVE_CSTRING# include <cstring>#else# include <string.h>#endif#ifdef HAVE_CSTDLIB# include <cstdlib>#else# include <stdlib.h>#endif#ifdef HAVE_CSTDIO# include <cstdio>#else# include <stdio.h>#endif/* seems to be handy in connection with gsl_math.h */#ifdef HAVE_CMATH# include <cmath>#else# include <math.h>#endif/* define MIN, MAX macros */#define MAX(a,b) ((a > b) ? a : b)#define MIN(a,b) ((a < b) ? a : b)#if defined(HAVE_NAMESPACES) && defined(__SUNPRO_CC)/* for SC5.0 in /usr/include/floatingpoint.h (SunOs 2.7) */using std::FILE;#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -