title: C++ How to insert a char into vector
body: <p>I have a vector declared like following:</p>
  
  <pre><code>    vector &lt; vector&lt;char&gt; &gt; v;
  </code></pre>
  
  <p>Depend of player I would like to insert x or o into vector. I am doing it like this:</p>
  
  <pre><code> v[y][x]= set%2 ? 'o':'x';
  </code></pre>
  
  <p>In my vector instead o or x I am getting: 120 'x'. Why? What should I do to insert only x?</p>