title: C++ writing 'or' instead of ||
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/555505/c-alternative-tokens">C++ alternative tokens?</a>  </p>
  </blockquote>
  
  
  
  <p>I'm working on an assignment in C++ with a friend of mine, and we've been doing lots of the coding on his computer/environment (a Macbook Pro with Eclipse). In some of the code he has written conditions using <code>and</code> and <code>or</code> rather than <code>&amp;&amp;</code> and <code>||</code>. The code compiles just fine on his computer, but when I try and compile it on my computer at home (a PC with Visual Studio 2010) I get compiler errors and am forced to switch them. My friend also attests that this syntax has worked using emacs/g++ in a Linux environment.</p>
  
  <p>I had never seen this type of thing before. Is this used widely or supported by most compilers?</p>