*update* Need assistance with array loop..


update:
the last section has been fixed.
Last edited on
Put a setw() before candidatesLastName or else the setw() for numOfVotes[] will be applied after the last character, which is why they're the same for the same name.
Last edited on
Thanks Immo! That worked :D
bump

Like I said, I would prefer an explanation and tips. Thanks again.

To be specific, I can get the highest vote, but I can't get the name of the person >_<
Last edited on
Topic archived. No new replies allowed.