INPUT FILE INTO ARRAY. CHECKING FOR COMMAS AND SUCH.
PLEASE READ CAREFULLY.
alot of people give me either partial answers, or incorrect
skeleton. PLEASE YOU CAN'T CHANGE WHAT IS THERE, YOU CAN ONLY
ADD.
void readFile(Candidate candidates[]) – reads the
elections.txt file, fills the candidates[] array. Hint: use
substr() and find() functions. Set Score to 0.
void List(Candidate candidates[]) – prints the array of Candidate
structs. One candidate per one line, include all fields. Use setw()
to display nice looking...