Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

iOS Objective-C Basics (Retired) Fundamentals of C Anatomy of a C program

Enrique Bernal
Enrique Bernal
3,584 Points

Where can I find the two C program templates?

Inside the zip file there is only one anatomy of c MyFirstCProgram -> MyFirstCProgram -> main.c MyFirstCProgram.xcodeproj Where are the two files used for the video?

yea I would like to know that the way described is not the same file as used in the tuts, there is an autoreleasepoor and the ending is .m not .c

where is this zip file you speak ofโ€ฆ

1 Answer

If you have XCode, there are built in C templates. Just open a new command prompt project in XCode. File > new project > OSX > Application > Command Line Tool. After you click next, go down to language and choose C.