title: Compare two char in C++
body: <p>Why does it not work to compare two <code>char</code>?
  My code first declares a <code>char</code>, then the user gives a value to it -> "j" or "t".
  Then the following code looks like this:</p>
  
  <pre><code>if (chAuswahl == "j")
  {
  }
  </code></pre>
  
  <p>My problem is, that <code>==</code> is red underlined. This is the error code:</p>
  
  <pre><code>Can't convert from const char* to int
  'int' is different from const char[2] of performed in terms of the number dereferencings
  Operand types are incompatible ("char" and "const char *").
  </code></pre>
  
  <p>Thank you all for help!</p>