⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 type.cpp

📁 一个basic语言的编译工具。
💻 CPP
字号:
#ifndef utype
#define utype

#include<bios.h>
#include<stdio.h>
#include<stdlib.h>
#include<string.h>
#include<dos.h>
#include<conio.h>
#include<mem.h>
#include<math.h>
#include<ctype.h>
#include<fcntl.h>

typedef unsigned int uint;
typedef unsigned char uchar;
typedef unsigned long ulong;

/*------------------------------------*/
void ERR(uchar);



/*------------------CODE---------------*/
uchar strcmpn(uchar huge*a,uchar huge*b);
void EXIT(char*a);
uchar far * Ma(uint l);
void Free(uchar huge*p);
class dosmem
{
 public:
  uchar far*p;
  dosmem(uint l);
  ~dosmem();
  uchar dosmem::modmem(uint l);
};

class Stack
{
 public:
  dosmem buf;
  uint sp,tl;
  Stack(uint l):buf((l+15)<<4)
   {tl=l;sp=l-1;}
  uint Stack::popaint();
  uchar Stack::popachar();
  float Stack::popafloat();
  void Stack::pushaint(uint a);
  void Stack::pushachar(uchar a);
  void Stack::pushafloat(float a);
  void Stack::clean();
};

uchar thelastchar(uchar*a);
void dellastchar(uchar*a);
#endif

⌨️ 快捷键说明

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