I have a vector declared like following:
vector < vector<char> > v;
Depend of player I would like to insert x or o into vector. I am doing it like this:
v[y][x]= set%2 ? 'o':'x';
In my vector instead o or x I am getting: 120 'x'. Why? What should I do to insert only x?