title: Strange characters in ansi-term in emacs
body: <p>I wrote a c++ program and when I compiled it using g++ in ansi-term, I got some strange characters displayed:</p>
  
  <p><img src="https://i.stack.imgur.com/pmt9m.png" alt="enter image description here"></p>
  
  <p>If required, the error was that i hadn't declared the variable n. How can I correct this?</p>