Search:

Type: Posts; User: Meerul264

Search: Search took 0.01 seconds.

  1. You mean to add the & before bool gameover? I had...

    You mean to add the & before bool gameover? I had read this somewhere but was not sure how to use it.



    int ask_rematch(char board[][3], bool &gameover)




    int check_winning_condition(char...
  2. but the bool gameover is declared in game_start,...

    but the bool gameover is declared in game_start, then passed to check_winning_condition, then passed to ask_rematch, to change its value to true. sorry I still can't comprehend.

    even after I type...
  3. passing a false boolean value into functions, then return it as true to stop program?

    I want to pass a boolean value, bool gameover(false), into the function check_winning_condition, and then pass it to function
    ask_rematch. Then in ask_rematch, if the user's input is "no", then...
Results 1 to 3 of 3