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 trialBaron C
123 Pointsi can't seem to get through this challenge...but xcode seems to compile it ok
i am embarrassingly new at this, so please be patient with me. i've spent the last several minutes trying to get through this very early challenge, which i thought seemed simple enough. however, i keep getting the following error screen:
and i don't understand what i'm doing wrong, particularly when it seems to compile okay in xcode:
can anyone shine a light on what i need to do differently?
many thanks.
3 Answers
Patrick Donahue
9,523 PointsYou are missing the comma. You have the comma in Xcode.
NSLog(@"Words %@ here", variable);
Baron C
123 Pointsthanks for replying. i tried again with the comma, and no go. i even went so far as to copy and paste the line from xcode into the challenge window, and still no go. i get this error message when i hit 'recheck work':
sorry for being so basic! (edited to correct the screenshot)
Patrick Donahue
9,523 PointsNo problem! It takes time. You need to add the \n into the quotes. And add a semicolon to the end.
printf("A ball with a radius of %f inches. \n”, radius);
Baron C
123 Pointsdude, thank you so much! i think i'll get this…eventually!