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 Operators & Expressions

The quiz is awful.

unstable ++; is wrong, because there is a space? WTF...

If you are going to critique the content then more information would be greatly received so the staff are able to look into your issues. From your post I can't really tell the problems you are having. Could you please edit it and add some more content as to your issue. Thanks

Amit Bijlani
Amit Bijlani
Treehouse Guest Teacher

Sorry about that, we realize that our fill in the blanks are a bit restrictive. It's on our radar to make them a bit more flexible in the near future.

4 Answers

Well, the quiz says auto increment the variable "unstable", and "unstable++;" is right, "unstable ++;" is wrong.(there is a space)

Great! I will tag the tutors to look into this, I know nothing about iOS as stuck on Windows :(

Amit Bijlani Douglass Turner

Well, it seems the code engine is not smart enough. "NSLog(string);" and "NSLog(@"%@", string)" is the same if string is an NSString* variable. But the code engine seems only take the latter as the right answer.

Your working with C not objective C in that quiz. printf And thinking back i think the same happened me in that quiz with the auto increment.

Well, NSLog takes at least one argument NSString *format. So if string is an NSString variable, "NSLog(string);" and "NSLog(@"%@", string)" give you the same output.

You are doing the C tutorials

 float fa = 5.0 / 0.5;
    printf("fa %f\n", fa);
    int unstable = 25;
    unstable -= 5;
    printf("unstable %d\n", unstable);

You do not need NSLog or NSString in that quiz

Oh, I know what you mean. I've commented under the wrong chapter.

But when I realize that there is a problem, I've already submitted. And once I submitted, there is no clickable discussion button.

Yes i saw what you meant on the auto increment i went and done that quiz again. If you want to start a new discussion just click on start discussion , click what topic - IOS and what your topic is - lets say NSLog and NSString