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
Making a game with a 1D Array
Page 2
Making a game with a 1D Array
Pages:
1
2
Nov 9, 2012 at 3:53am UTC
drognisep
(42)
Ok, instead of having showboard dependent on individual player choices, store the choice in an int, and pass to showboard which player made the choice using a bool value. If you do that, you may be able to finish this.
Nov 9, 2012 at 3:57am UTC
drognisep
(42)
You have to declare any variable you use! If your function receives whichplayer it has to be declared in the function declaration too.
Last edited on
Nov 9, 2012 at 3:59am UTC
Topic archived. No new replies allowed.
Pages:
1
2