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 Variables

Why does my code succeed in Xcode but not in workspaces?

?

3 Answers

Remove the "return 0;"

Hi 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.

You 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.

Sorry, I didn't realize the "ask a question" option was going to submit my question to the general forum.

Hi, is it possible for you to add the code that you wrote along with your question?

Hi David,

thanks for the "related content" tip, I didn't know this.