delete prints

This commit is contained in:
Valér Jakubčo 2022-01-24 02:03:00 +01:00
parent ca9ded8e10
commit 7d05bdc235

View File

@ -99,10 +99,10 @@ void decompress(FILE* infile,FILE* outfile){
char buffer[BUFSIZE]; char buffer[BUFSIZE];
int size = 0; int size = 0;
int k = 0; int k = 0;
fseek(infile, 0, SEEK_END); //fseek(infile, 0, SEEK_END);
long fileSize = ftell(infile); //long fileSize = ftell(infile);
fseek(infile, 0, SEEK_SET); //fseek(infile, 0, SEEK_SET);
printf("size: %ld\n", fileSize); //printf("size: %ld\n", fileSize);
char letter; char letter;
while(!feof(infile)){ while(!feof(infile)){
size = 0; size = 0;
@ -124,7 +124,7 @@ while(!feof(infile)){
buffer[size] = letter; buffer[size] = letter;
size++; size++;
} }
printf("%d\n",k); //printf("%d\n",k);
k+=3; k+=3;
} }