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

📄 splint.h

📁 The two C source files in this archive are specific to the TRS-80 Model 4 with high-resolution grap
💻 H
字号:
/* global definitions and tables */

#include <stdio.h>

#ifdef __TURBOC__
#include <alloc.h>
#include <stdlib.h>
#include <dir.h>
#endif
#ifdef BSD
#include <malloc.h>
#define far 
#endif
#ifdef MSDOS
#include <malloc.h>
#include <direct.h>
#include <stdlib.h>
#endif
#include <sys/types.h>
#include <string.h>
#include <sys/stat.h>

/* constants for splay algorithm */

#define CHAR_RANGE (255)
#define EOF_CODE (CHAR_RANGE + 1)
#define MAXCHAR (EOF_CODE + 1)
#define SUCCMAX (MAXCHAR + 1)
#define TWICEMAX (2 * MAXCHAR + 1)
#define ROOT 1

/* Markov model states */
/* Needs ~= 140kbytes heap to alloc properly */

#define STYLE_ID 6
#define MAXSTATE 64 /* 2 << 6 */

/* global variables */

extern char spl_passwd[];

/* end */

⌨️ 快捷键说明

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