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


I keep getting or have a file named Main.m not Main.c

I can't find file named main.c I have a file named Main.m

3 Answers

Stone Preston
Stone Preston
42,016 Points

you must have opened up the objective project. be sure you open the c project, not objective C. Once you download and extract the project files, open the folder named MyFirstCProgram. there should be a file in there named MyFirstCProgram.xcodeproj. thats the file you need to open

Thank you I just started and to get help that fast is awesome

Tobi Tron
Tobi Tron
2,737 Points

Fyi it took me a while to figure out that you need to download the project in the Treehouse teacher notes. That was never mentioned so I thought it was a template that came with Xcode or something. Smooth once I figured that out, but frustrating until I did :).