How much of those code do you need, its over 400 lines atm.
I tried making it a void function since all it does is print out some information on demand. That didn't appear to help.
Here is a snippet of just this one case, if you cant figure it out from that i can post the entire section:
1 2 3
|
case 6: cout << "Now displaying player status window...\n\n";
void PlayerStatusDisplay ();
break;
|
@m4ster r0shi
Originally i had it without void which is what i did to call Game() which works fine from main but when i try the same thing outside main it doesnt work i get error
error C3861: 'PlayerStatusDisplay': identifier not found
Main() > Game() > PlayStatusDisplay() > Game() is what i want.
That must mean that im not defining it, but isn't that having
int PlayerStatusDisplay()
{
statements;
return 0;
}
the defining it?
or do i need to put
void PlayerStatusDisplay (void);
within the Game() function to define it?