#include #include #include #include "counts.h" counts_t * createCounts(void) { counts_t c = malloc(sizeof(counts_t)); c.countArray = NULL; c.arraySize = 0; c.count_of_unknowns = 0; } void addCount(counts_t * c, const char * name) { if (name == NULL) { c.count_of_unknowns++; return; } for (int i = 0; i < c.arraySize; i++) { if (strcmp(name, c.countArray[i].string) == 0) { c.countArray[i].count++; return; } } } void printCounts(counts_t * c, FILE * outFile) { //WRITE ME } void freeCounts(counts_t * c) { //WRITE ME }