Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

swanflyer

macrumors newbie
Original poster
Hi, I am a new mac user.

I have to use the Xcode to run my C code. The code include a header file, but I don't know how to add that in. What kind of action should I take?
 
Hi, I am a new mac user.

I have to use the Xcode to run my C code. The code include a header file, but I don't know how to add that in. What kind of action should I take?

Right click on the project name in the project window in the left hand pane and select Add Existing Files. Alternatively you can go to the file menu > Add File and then select the appropriate template.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.