Too many arguments to function

On the header file you declare:

void printCandidateReport ();

But on the implementation is:

void printCandidateReport(int candidateNum){...}

Change the header file to

void printCandidateReport(int candidateNum);

Leave a Comment