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

Why I am receiving this alert?

writing the same code as Douglass, I am receiving this alert, the video is not showing the alert and results are not the same...

char letters[] = {'a', 'b', 'c'};
    int w= 0;
    while (w < 3) {
        printf("letter %d is c%\n", w, letters[w]);
        ++w;

The line of code: printf("letter %d is c%\n", w, letters[w]);

XCODE says: Invalid conversion specifier '

3 Answers

You have to write "%c" not "c%" :)

Upvoted ya! Good eye!

Thanks!

Something doesn't look right. What lesson are you on?

Thanks a lot @Andres Oliva.

Jeremy Hayden I am doing the Objective-c course. Just starting the track. Thanks