title: Code Blocks exit(0) error?
body: <p>I'm learning c++ and was using Visual Studios but I switched to code blocks today and am having trouble. My Compiler is MinGW if that's important. Anyway I made a practice program that looks like this:</p>
  
  <pre><code>#include &lt;iostream&gt;
  
  using namespace std;
  
  Int main()
  {
  Int x;
  cin &gt;&gt; x;
  If(x == 1)
  Exit(0)
  Return 0;
  }
  </code></pre>
  
  <p>When I build it I get an error on the line containing Exit(0). Why is this? Also, how do I get the build/debug toolbars at the bottom to reappear?</p>