I have a other code that works the same. Could my code be a potential issue?
I dont want to see the intro everytime when we retry to guess again. Thats why i dind’t add it in the loop.
My code:
int main() {
PrintIntro();
do {
PlayGame();
}
while (AskToPlayAgain() == true);
cout << endl;
return 0;
}
DanM
2
It’s fine. And the overlay in the video says exactly that.
Great thank you for the reply.
Tormi_T
4
Is there some principle behind your style or just personal preference?
DanM
5
personal preference mainly
1 Like
That correct! its a personal preference.
same way less typing in my opinion.