title: error when calling char to allow user to enter choice
body: <p>I am writing a simple text game in C++. The user has the option of choosing the left room or the right room. I did have this set up as an int statement: enter 1 for left, enter 2 for right. Now I would like to have the user enter left for left room, right for right room.</p>
  
  <p>I replaced the int with char, but I am getting an error.</p>
  
  <pre><code>#include &lt;iostream&gt;
  
  using namespace std;
  
  int main() {
  
      char decision;
      cin &gt;&gt; decision;
  
      if (decision == left) {
          cout &lt;&lt; "went left" &lt;&lt; endl;
      }
  
      return 0;
  }
  </code></pre>
  
  <blockquote>
    <p>Error: comparison between pointer and integer</p>
  </blockquote>