User profile: AbstractionAnon

User info
User name:AbstractionAnon
History
Joined:
Number of posts:5029
Latest posts:

Cannot split a void function into two separate void functions
[quote]s that all I would code? just "displayResult()" or does anything need to go in the parenthese...

Turning into bool function
Sorry. My return type was incorrect. Should have been a bool. I've edited the post.

Please Look At My Games I Really Want Feedback
First snippet line 32,94, second snippet line 149: Do not call srand() within a loop or a random nu...

Turning into bool function
Why would you want to convert this to a bool function? You're returning a count. You can't do that...

A while loop with a switch statement inside a for loop.
So just print the required number of x's: [code] for (int i=0; i<votesForA; i++) cout << 'x'; ...