0
whats the difference between Java tic tac toe and c++ tic tac toe
Tic Tac Toe game understanding
5 ответов
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
0
like what is the difference in code
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
0
ok like enunciating potatoe vs patatoe but are still the same function
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