types.h

来自「编译原理中的First集与 Follow集生成程序」· C头文件 代码 · 共 29 行

H
29
字号
/*
 *	file:  types.h
 *  func:  定义一些常见的内置数据类型.
 */
#if _MSC_VER >1200  /* msvc6 or later */
#pragma once
#endif

#ifndef __TYPES_H_
#define __TYPES_H_

typedef int                 sint32;
typedef unsigned int        uint32;
typedef short int           sint16;
typedef unsigned short int  uint16;
//typedef long              sint32;
//typedef unsigned long     uint32;
typedef signed char         schar8;
typedef unsigned char       uchar8;
typedef float               real32;
typedef double              real64;
typedef bool                Bool;
typedef void                Void;

const Bool True=            true;
const Bool False=           false;

#endif /* __TYPES_H_ */

⌨️ 快捷键说明

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