📄 main.c
字号:
#include <stdio.h>
#include <string.h>
#include "chcode.c"
main()
{ unsigned char * instream;
long i,length;
FILE * fp;
fp=fopen("c:\\test.txt","r");
fseek(fp,0L,2);
length=ftell(fp);
fseek(fp,0l,0);
fclose(fp);
printf("length=%ld",length);
length=compress_code( instream,length);
length=uncode_expand( instream,length);
for( i=1;i<=length;i++ ) putc( * instream++, stdout );
free( (unsigned char *)instream);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -