Created
September 23, 2013 19:12
-
-
Save KoaxialKable/6675393 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//I could use this (how my teacher chose to do it) | |
cout << " "; | |
if (myTurn) cout << "***"; else cout << " "; | |
cout << " "; | |
if (!myTurn( cout << "***"; else cout << " "; | |
cout << endl; | |
//or I could do this (my first thought) | |
if( myTurn) | |
cout << " *** \n"; | |
else | |
cout << " ***\n"; | |
//one uses two if statements and one uses two. is tehre really a difference? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment