title: Comparing char and constant char
body: <p>I'm new to c++ and programming I keep getting an error. I'm not able to compare char and constant chars. Any help will be appreciated. </p>
  
  <pre><code>char a;
  cout &lt;&lt; " presentation";
  cout &lt;&lt; "blablabla do you want to go left (type "l") or right (type "r")";
  cin &gt;&gt; a;
  if (a == "l")
  {
    cout &lt;&lt; "blablabla fall down it and brake your neck";
  }
  else
  {
    cout &lt;&lt; "blablabla";
  }
  </code></pre>