title: gcc on Windows: generated "a.exe" file vanishes
body: <p>I'm using GCC version 4.7.1, but I've also tried this on GCC 4.8. Here is the code I'm trying to compile:</p>
  
  <pre><code>#include &lt;stdio.h&gt;
  
  void print(int amount) {
      int i;
      for (i = 0; i &lt; 5; i++) {
          printf("%d", i);
      }
  }
  
  int main(int argc, char** argv) {
      print(5);
      return 0;
  }
  </code></pre>
  
  <p>It looks like it should work, and when I compile with...</p>
  
  <pre><code>gcc main.c
  </code></pre>
  
  <p>It takes a while to compile, produces an <code>a.exe</code> file and the the <code>a.exe</code> file disappears. It isn't giving me any errors with my code.</p>
  
  <p>Here's a gif of proof, as some people are misinterpreting this:
  <img src="https://i.stack.imgur.com/5dls3.gif" alt="proof"></p>