stdafx.h

来自「compiler principle how to ananilyze」· C头文件 代码 · 共 38 行

H
38
字号
// 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__986D2E0E_3B1A_43BD_AA89_E7545F5C0C50__INCLUDED_)
#define AFX_STDAFX_H__986D2E0E_3B1A_43BD_AA89_E7545F5C0C50__INCLUDED_

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

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

#include <stdio.h>
#include <string>
using namespace std;

void error(const string& msg);
string iToString(int i);
string iToString(int i, int width);

class GException {
private:
	string info;
public:
	GException(const string& msg);
	GException(const GException& ge);
	const string& toStr() const ;
};

// TODO: reference additional headers your program requires here

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

#endif // !defined(AFX_STDAFX_H__986D2E0E_3B1A_43BD_AA89_E7545F5C0C50__INCLUDED_)

⌨️ 快捷键说明

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