stdafx.h

来自「对于通用的嵌入式系统字处理单元,本模块化程序可以快速实现常用汉字编码(GB231」· C头文件 代码 · 共 43 行

H
43
字号
// 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__22645964_024D_4870_96BC_0E206AD692C4__INCLUDED_)
#define AFX_STDAFX_H__22645964_024D_4870_96BC_0E206AD692C4__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>

// TODO: reference additional headers your program requires here

#include "Windows.h"

typedef size_t U32;
typedef unsigned short int U16;
typedef unsigned char U8;

typedef signed int S32;
typedef short signed int S16;
typedef signed char S8;

typedef struct utf16_gb
{
        U16 unicode;
	    U16 gb;
} UTF16_GB_4B;

#define CONVERT_OK 0
#define CONVERT_ERROR 1
#define INPUTCODE_ERROR 2
#define INPUTLEN_ERROR 3
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_STDAFX_H__22645964_024D_4870_96BC_0E206AD692C4__INCLUDED_)

⌨️ 快捷键说明

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