title: Code::Blocks 13.12 error - CC1.exe has stopped working
body: <p>I am using Code::Blocks 13.12 for programming in C. After building and running my simple HelloWorld.c program, it gives an error.</p>
  
  <p>Error: An alert box pop up saying -"cc1.exe has stopped working.A problem caused the program to stop working correctly.Windows will close the program and notify you if a solution is available."</p>
  
  <p>I tried using Notepad++ , the same pop up appears saying a.exe has stopped working.</p>
  
  <p>I am a naive,so have no idea on how to deal with this.
  My queries:</p>
  
  <p>1) Am I using an outdated version? If not, how can I get rid of this problem?</p>
  
  <p>2) Which is the most efficient IDE available for C/C++ if Code::Blocks is not that efficient? 
  My requirement"
  -I had been using Turbo C and it doesn't give errors like segmentation fault and other memory    related errors that we get in online Compilers or compilers of competitive programming.So, I need an efficient compiler which behaves same as online compilers, so I don't get stuck while solving problems during competitive programming.</p>
  
  <p>This is the simple code giving error:</p>
  
  <pre><code>#include &lt;stdio.h&gt;
  
  void main()
  {
      printf("Hello world!");
      //return 0;
  }
  </code></pre>
  
  <p>Edit:</p>
  
  <p>Even after changing the code to return int, it's giving an error.I tried editing the code as below, but the same window is being popped up again.</p>
  
  <pre><code>int main(void)
  {
      printf("Hello world!");
      return 0;
  }
  </code></pre>