📄 public.h
字号:
#ifndef _CLASS_PUBLIC_H__
#define _CLASS_PUBLIC_H__
#include <io.h>
#include <stdio.h>
#include <conio.h>
#include <dir.h>
#include <dos.h>
#include <stdlib.h>
#include <malloc.h>
#include <string.h>
/////////////////////////////////////////////////////////////////////////////
#define ULongInt(s) (*(unsigned long int *)(s))
#define UShortInt(s) (*(unsigned short int *)(s))
#define LongInt(s) (*(long int *)(s))
#define ShortInt(s) (*(signed short int *)(s))
#define ULongInt(s) (*(unsigned long int *)(s))
#define UShortInt(s) (*(unsigned short int *)(s))
#define LongInt(s) (*(long int *)(s))
#define ShortInt(s) (*(signed short int *)(s))
extern void RuningOK();
extern unsigned long ftonl(unsigned long t);
extern unsigned short ftons(unsigned short t);
extern unsigned long ftonl(const void *t);
extern unsigned short ftons(const void *t);
inline void flush(FILE *stream)
{
fflush(stream);
close(dup(fileno(stream)));
}
#define DELETE(x) if(x) delete[](x);x=NULL;
#define FCLOSE(x) if(x) fclose(x);x=NULL;
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -