Hi everyone. I'm currently working on a Tic Tac Toe game, and I am having a little trouble with, well, I'm not even sure what to call them. They are a variable with brackets like so below. Anyway, I have this variable:
char Line_One[3] = { ' ', ' ', ' ' };
What is the significance of the 3 in the brackets?
Also, how would I change one of the characters in the curly brackets?
for ex.:
char Line_One[3] = { ' ', ' ', ' ' };
turns into
char Line_One[3] = { 'X', 'X', 'O' };
Thanks!