16 lines
367 B
C
16 lines
367 B
C
|
#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);
|
||
|
}
|