📄 sq-unsq.c
字号:
# include <stdio.h>
# include <io.h>
# define WORD unsigned int
# define BYTE unsigned char
# define SUCCESS 0
# define FAILURE 1
typedef struct {
FILE *fp;
WORD buf;
BYTE count;
} bitstream;
static int getbit(bitstream *);
static void initbits(bitstream *, FILE *);
void main (int ac,char **av)
{
long squeeze (FILE *inf,FILE *outf);
int unsqu (FILE *inf,FILE *outf);
FILE *inf,
*ouf1,
*ouf2;
long compr_length,
nocompr_length,
l1, l2,
percent;
WORD m1,m2;
unsigned
lr;
static char
bf1 [512], bf2 [512];
printf ("忇
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -