title: Compiler gcc:error; no such file or directory
body: <p>I am extremely new to programming and I am having problems with the basic starting program of, 'hello, world'.</p>
  
  <p>I have downloaded MinGW and I believe I set it up correctly with the command promt by entering: <code>setx PATH "%PATH%;C:\MinGW\bin"</code></p>
  
  <p>Then I created this code following a guide while using Notepad++</p>
  
  <pre><code>#include &lt;stdio.h&gt;
  
  int main(void)
  {
    puts("Hello, world!");
    return 0;
  }
  </code></pre>
  
  <p>saving it under <code>c:/code/c/hello.c</code></p>
  
  <p>When I try to compile it or run it under: <code>gcc -o hello hello.c</code>, I get this error</p>
  
  <pre><code>gcc: error: hello.c: No such file or directory
  gcc: fatal error: no input files
  compilation terminated.
  </code></pre>
  
  <p>And I am not sure how to fix this. I have tried looking around, but I cant find any answers or I just don't understand them.</p>