title: Error C2059: syntax error 'constant'
body: <p>I have the following code in a header file:</p>
  
  <pre><code>enum {false,true};
  </code></pre>
  
  <p>and I have my  main function in main.c. if I change the extention to main.cpp
  I get the following error:</p>
  
  <pre><code>Error C2059: syntax error 'constant' 
  </code></pre>
  
  <p>Im using visual c++, any Idea why`?</p>