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 trialJohn Roy
61 PointsRadius = 14.5 without main function
I'm a little lost as to where to start the code with out the main function? Ive never written code before but I am willing to learn. I just need some guidance
1 Answer
Rodrigo Chousal
16,009 PointsEvery source file written in C begins with a function called main, which is written in the very first line of code. In that challenge what the instructions mean is just to abstain from writing the main function, which is int main ()
. So just do whatever the instructions ask you to do, without writing int main ()
at the top.