Okay, so here is what my function looks like.
and here is an example of where it is usedCode:void EndGame() { cin.get(); system("PAUSE"); }
i have another problem also. In the above code you see that I have OR statements for if they type NO in a different way, but no matter which way I type it it wont work.Code:if ((answer, "no" || "No" || "NO") == 0){ EndGame(); }
thanks for any help you can give me.