cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
*update* Need assistance with array loop
*update* Need assistance with array loop..
Dec 6, 2014 at 6:04am UTC
chick3n13
(23)
update:
the last section has been fixed.
Last edited on
Dec 7, 2014 at 1:50am UTC
Dec 6, 2014 at 7:31am UTC
Immo
(26)
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
Dec 6, 2014 at 7:34am UTC
Dec 6, 2014 at 8:28pm UTC
chick3n13
(23)
Thanks Immo! That worked :D
Dec 6, 2014 at 10:43pm UTC
chick3n13
(23)
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
Dec 6, 2014 at 10:59pm UTC
Topic archived. No new replies allowed.