Don't put the keyword "void" in front of the function calls. Just use the function name.
printHeader (fout);
printReport (fout,commission, salesID, employeeCode, numUnits, numDollars, n);
vmanes
Posting Virtuoso
1,914 posts since Aug 2007
Reputation Points: 1,268
Solved Threads: 228