📄 fybasic.h
字号:
//Copyright(C), 2007-2007, Whcsdc Tech. Co., Ltd.
//File name:fydefine.h
//Author:"杨军"
//Version:"2007版"
//Date: "2007年8月1日"
//Description:"定义了整个程序中使用到的结构"
#if !defined(__BASIC__)
#define __BASIC__
#include<reg51.h>
#include<absacc.h>
#include<Intrins.h>
//#include<float.h>
//#include<math.h>
//#include<ctype.h>
#include<stdlib.h>
#include <string.h>
typedef unsigned char uchar;
typedef unsigned int uint;
typedef unsigned long ulong;
typedef union UBWORD
{
uint aword;
struct
{
uchar byte1;
uchar byte2;
}byte;
}UBWORD;
typedef union UBDWORD
{
ulong adword;
struct
{
uint word1;
uint word2;
}word;
struct
{
uchar byte1;
uchar byte2;
uchar byte3;
uchar byte4;
}byte;
}UBDWORD;
#ifndef TRUE
#define TRUE 1 ;
#endif
#ifndef FALSE
#define FALSE 0 ;
#endif
#endif // !defined(__BASIC__)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -