
-----------------------------------
Al_
Tue Jun 23, 2009 10:05 pm

Compilation error:  &quot;expected primary-expression before &quot;else&quot;  &quot;
-----------------------------------
hi. I decided to take another approach to my tic tac toe game. The code is as follows:

[code]#include
#include

void fIntroDrawn();
void fDrawBoard();
void fSetPlayerMark();
void fTwoPlayerGame();
int fCheckGameType();

//Global variables Declared
bool bGameOver = false;
bool bValidMove = false;
bool bExit = false;
char cMark;
    char cSquare1 = '1';
    char cSquare2 = '2';
    char cSquare3 = '3';
    char cSquare4 = '4';
    char cSquare5 = '5';
    char cSquare6 = '6';
    char cSquare7 = '7';
    char cSquare8 = '8';
    char cSquare9 = '9';
std::string sReplay;
std::string sExitVerify;
std::string sWait;    
std::string sSquareID;
std::string sLeaveGame;
int iPlayerTurn = 1;
std::string sGameType;
int iGameType;
    

int main() {

    // Intro Drawn
    fIntroDrawn();

    //Check Game Type  
    std::cout