c++ program that reads in a given value or array from a csv file