title: Xcode 4.4.1 - C programming - adding new .c files
body: <p>I'm writing a C program in Xcode 4.4.1.  A new project starts me off with a main.c file which is obviously my main file.  What if I want to write a different program?  If I choose File>New File, Xcode creates a new .c file next to main.c.  The trouble is that when I place code in that new file, when I attempt to run it, I get a build error having to do with linking.  I can always take the code from program2 and paste it into a brand new project in the main.c file and it will work but, for organization purposes(college work), I'd prefer to just have multiple files in the same project which can be independently compiled and executed.  I'm very new to Xcode, so I ask, what am I doing wrong/not understanding?  </p>
  
  <p>I have pics to post but I'm not able due to my just having registered this account.  Thanks in advance!</p>