This C++ program will count each word in an input txt file and also the median of each line
hbs_word_count.cc
This program will read the input txt file from the directory wc_input and will read each word in to an vector. This will remove the special characters in each word and transform to lowercase. All word are also sorted alphabetically and will print the count of each word. The output file is stored in wc_output/wc_result.txt
hbs_median_count.cc
This program will read the same text file and will count the number of words in each line. The it will calculate the running median as it reads a new line. The output file is stored in wc_output/med_result.txt