CS2263/Assigments/4/Compress/test.c

16 lines
367 B
C
Raw Permalink Normal View History

2023-05-22 23:28:51 -03:00
#define MAX_FILESIZE 100000
#define MAX_TAGS 100
#include "printStats.h"
int main() {
char input[MAX_FILESIZE] = "<html><title>Hello!</title></html>\377";
char *list[MAX_TAGS];
*list = &input[1];
*(list+1) = &input[7];
int count[MAX_TAGS];
*count = 1;
*(count+1) = 1;
int size = 2;
printStats(list, count, size);
}