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

📄 stdafx.h

📁 利用Visual c++编程思想方法实现基于交通网络关键路径算法
💻 H
字号:
// stdafx.h : include file for standard system include files,
//  or project specific include files that are used frequently, but
//      are changed infrequently
//

#if !defined(AFX_STDAFX_H__A86D1C30_BB35_47D6_8208_79E86140F7C1__INCLUDED_)
#define AFX_STDAFX_H__A86D1C30_BB35_47D6_8208_79E86140F7C1__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#define VC_EXTRALEAN		// Exclude rarely-used stuff from Windows headers

#include <afxwin.h>         // MFC core and standard components
#include <afxext.h>         // MFC extensions
#include <afxdisp.h>        // MFC Automation classes
#include <afxdtctl.h>		// MFC support for Internet Explorer 4 Common Controls
#ifndef _AFX_NO_AFXCMN_SUPPORT
#include <afxcmn.h>			// MFC support for Windows Common Controls
#endif // _AFX_NO_AFXCMN_SUPPORT


/************************************************************************/
/* 用#import指令引入ADO类型库                                           */
/*     其最终作用同#include类似,编译的时候系统会生成msado15.tlh,        */
/* ado15.tli两个C++头文件来定义ADO库。                                  */
/*     其中:                                                           */
/*           #pragma warning(push)                                      */
/*           #pragma warning(disable:4146)                              */
/*           #pragma warning(pop)                                       */
/* 的作用是在编译时不生成warning C4146: unary minus operator applied    */
/* to unsigned type, result still unsigned提示                          */
/************************************************************************/
#pragma warning(push)
#pragma warning(disable:4146)
#import "c:\program files\common files\system\ado\msado15.dll" rename_namespace("ADOCG") rename("EOF","adoEOF") 
using namespace ADOCG;
#pragma warning(pop)

#include <afxtempl.h>
#include <iostream>
#include "windows.h"
#include "olectl.h"

#ifndef _AFX_NO_DB_SUPPORT
#include <afxdb.h>			// MFC ODBC database classes
#endif // _AFX_NO_DB_SUPPORT


//调用STL标准模板库
//向量定义,主要用于在参数中传递数组。
#include <vector>
#include <string>
#include <map>
#include <cstring>
#include <time.h>
#include <math.h>
using namespace std;

/************************************************************************/
/* 用#import指令引入ADO类型库                                           */
/*     其最终作用同#include类似,编译的时候系统会生成msado15.tlh,        */
/* ado15.tli两个C++头文件来定义ADO库。                                  */
/*     其中:                                                           */
/*           #pragma warning(push)                                      */
/*           #pragma warning(disable:4146)                              */
/*           #pragma warning(pop)                                       */
/* 的作用是在编译时不生成warning C4146: unary minus operator applied    */
/* to unsigned type, result still unsigned提示                          */
/************************************************************************/
#pragma warning(push)
#pragma warning(disable:4146)
#import "c:\program files\common files\system\ado\msado15.dll" rename_namespace("ADOCG") rename("EOF","adoEOF") 
using namespace ADOCG;
#pragma warning(pop)



//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_STDAFX_H__A86D1C30_BB35_47D6_8208_79E86140F7C1__INCLUDED_)

⌨️ 快捷键说明

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