Reset Value of an Array in C++

Hello together,

i have an Array saved global called:
 
char Feld[9] = {'1', '2', '3', '4', '5', '6', '7', '8', '9'};


when my programm runs some of them are chaning to X or O. (Tic Tac Toe)
When a new round starts i have a function where i want to reset the numbers and dont let them be X or O

how can i do this?

i though it will work like that but i does not.

 
  Feld[9] = {'1', '2', '3', '4', '5', '6', '7', '8', '9'};
Don't double-post. It wastes people's time.

http://www.cplusplus.com/forum/beginner/249813/
Topic archived. No new replies allowed.