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

📄 _p.h

📁 Oracle调用接口
💻 H
字号:
// OraLib 0.0.4 / 2002-07-28
//	_p.h (precompiled header)
//
//	http://606u.dir.bg/
//	606u@dir.bg

#if	defined (_MSC_VER) // Microsoft Visual C++
#	define	_CRTDBG_MAP_ALLOC
#endif

// disable following Microsoft Visual C++ warnings
// (most of them will appear in release mode only)
#if defined (_MSC_VER)
#	pragma warning (disable: 4786) // id truncated to '255' chars in the browser info
#	pragma warning (disable: 4290) // C++ exception specification ignored
#	pragma warning (disable: 4710) // function 'xxx' not inlined
#endif

// STD C headers
#include <cstdio>
#include <ctime>
#include <cassert>
#include <cctype>
#include <cmath>
#include <tchar.h>

#if	defined (_WIN32) // Windows platform
#	include <windows.h>
#endif

#if defined (_MSC_VER) // Microsoft Visual C++
#	include <crtdbg.h>
#endif

// STL headers
#include <iostream>
#include <map>
#include <string>
#include <vector>

#ifndef	ASSERT
#	define	ASSERT	assert
#endif

// Oracle headers
#ifndef	__STDC__
#	define	__STDC__	1
#	include <oci.h>
#	undef	__STDC__
#else
#	include <oci.h>
#endif

// debug memory tracking
#if	defined (_MSC_VER) && defined (_DEBUG)
#	define	new	new (_NORMAL_BLOCK, __FILE__, __LINE__)
#endif


// vsnprintf is used in error.cpp
#if	defined (_MSC_VER)
// Microsoft Visual C++ 6.0
#	define	VSNPRINTF	vsnprintf
#elif defined (_MINGW)
// MinGW
#	define	VSNPRINTF	_vsnprintf
#else
// Borland C++ 5.5 (free command-line tools)
#	define	VSNPRINTF	std::vsnprintf
#endif

⌨️ 快捷键说明

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