Good evening. I decided to learn coding for the first time a week ago, but I'm already having some issues. I'm trying to make a basic Tic Tac Toe game where the user can insert an 'x' by selecting one of the displayed numbers. I'm still in the first step and for some reason even if I type 5, the only block to become is 'x' is always the first one (1).
It seems, that you have mistakenly confound the assignment operator ( = ) with the comparing operator ( == ).
And, welcome aboard, sailing through rough sea of C++ :-)
*edit*
You should also learn some basics about how to use ASCII code. E.g, the characters '0'...'9' have the ASCII-codes 48...37. There you need some arithmetic to convert them. For converting ASCII to integer, you could hence subtract the char '0', and for converting a digit to ASCII-character you could add the '0' character.