0

whats the difference between Java tic tac toe and c++ tic tac toe

Tic Tac Toe game understanding

17th Jun 2016, 5:17 PM
Elgia Johnson
Elgia Johnson - avatar
5 Answers
0
nothing really, just the way it's programmed. The main thing about tic tac toe is the algorithm you use to play the game. the algorithm can be used anywhere as its just a theory but actually writing the code it will just look different
17th Jun 2016, 9:24 PM
destro
0
like what is the difference in code
17th Jun 2016, 11:07 PM
Elgia Johnson
Elgia Johnson - avatar
0
oh, well in Java you'll use things like. system.out.println, scanners for input. c++ just standard iostream. cin, cout. other than that variables and functions are written virtually the same. if you're looking for a source code you can Google different c++ and Java source codes and get an idea of what people prefer to do. In a nutshell though, virtually no difference. just changing the way you take input and display data
17th Jun 2016, 11:17 PM
destro
0
ok like enunciating potatoe vs patatoe but are still the same function
18th Jun 2016, 12:21 AM
Elgia Johnson
Elgia Johnson - avatar
0
yeah essentially. again, it really just comes down to the algorithm you use. but you're right, it's all just a pronunciation thing
18th Jun 2016, 12:58 AM
destro