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 trialNick Del Negro
Courses Plus Student 5,270 PointsWhy does my code succeed in Xcode but not in workspaces?
?
3 Answers
David Tonge
Courses Plus Student 45,640 PointsRemove the "return 0;"
Sjors Theuns
6,091 PointsHi Nicholas,
you are not giving much information to work with here... Which challenge are you referring to? Do you have some code examples?
Also keep in mind that some code can be valid, but that does not mean it's the correct answer to the challenge.
David Tonge
Courses Plus Student 45,640 PointsYou can sometimes see what challenge the person asking about by looking at the related content located on the right side of the screen.
But I do agree that more information is needed here to help.
Nick Del Negro
Courses Plus Student 5,270 PointsSorry, I didn't realize the "ask a question" option was going to submit my question to the general forum.
David Tonge
Courses Plus Student 45,640 PointsHi, is it possible for you to add the code that you wrote along with your question?
Sjors Theuns
6,091 PointsHi David,
thanks for the "related content" tip, I didn't know this.