title: How to run C code/file with MINGW?
body: <p>OK, I just began learning C language, and I read a lot of people suggest to use MinGW as a compiler. I downloaded, installed it and set it correctly (I think) and set the path. everything seems to be OK.
  My problem is that I can't find a way to run a C file from the CMD, when I do something like this:</p>
  
  <pre><code>C:\&gt;gcc a\c1.c
  </code></pre>
  
  <p>nothing appear on the CMD</p>
  
  <p>In c1.c file I have the following:</p>
  
  <pre><code>#include &lt;stdio.h&gt;
  
  int main(void)
  {
      printf("this is a test.\n");
      return 0;
  }
  </code></pre>
  
  <p>I tried tcc compiler and when using it this way:</p>
  
  <pre><code>C:\&gt;tcc a\c1.c
  </code></pre>
  
  <p>it outputs the following:</p>
  
  <pre><code>this is a test.
  </code></pre>
  
  <p>How can I make MinGW output that the same way?
  I looked in the MinGW/gcc manual and HowTos and couldn't find a way to do the same thing.</p>