title: Does changing the order of compiling with GCC in unix delete files?
body: <p>So I just messed up real bad.. I'm hoping someone can tell me I didn't just ruin everything I did for the last 4 weeks with this simple typo..</p>
  
  <p>I kept making changes to my C program and would recompile to test the changes using this in terminal:</p>
  
  <pre><code>gcc -o server server.c
  </code></pre>
  
  <p>Due to programming for the past 5 hours straight for the most part.. I accidentally typed this the last time I tried compiling:</p>
  
  <pre><code>gcc -o server.c server
  </code></pre>
  
  <p>I got some long message and realized my mistake.. tried recompiling using the first way I listed.. And it says "no such file server.c"</p>
  
  <p>I typed "ls" and sure enough.. my program isn't there.</p>
  
  <p>Please tell me everything I did hasn't vanished? :((</p>