Hi,
For my school assignment I have been instructed to write code that takes a text file and counts either the total number of words or the number of unique words, depending on the optind variable which is controlled by the getopt function. TO reach a given checkpoint I must exclude the statement #include <vector>. and create a template class which uses a statically allocated array to perform the same function.
The skeleton code for this template code is shown below. Can anybody tell me how I edit this code to make this work?