Hi i am noob in programming without experience and just learning 15 days c++ with 1 hour per day ,so i have 15 hour until now.
so my question is when you believe will be ready to make a tic tac toe if i continue with this way(1 hour per day)?
Just imagine yourself in 15 first days of c++(without previous experience),and tell me our opinion.
THANKS!!!
I made a tic tac toe program on my own after learning c++ essentials. A lot of it isnt just code, its also conceptual stuff that might not even be related to c++ programming. Thats why sometimes people go at projects with pencil and paper before they even type it.
Back to the code part.
You could use arrays to store the possible win combinations.
Then use logic like && (and) and || (or) to test if the spots == X and O.
There are 8 possible ways to win.