I just did a chapter on loops and I noticed my output from my Xcode IDE is not what I'm expecting.
and the output:
Am I missing a setting in Xcode or something? It says this is the extent of the output, yet I'm not seeing the lines leading up to the final result.
Code:
#import <Foundation/Foundation.h>
int main (int argc, const char * argv[])
{
@autoreleasepool {
int n;
for (n=0; n < 20 ; n++);
{
NSLog(@"%i",n);
NSLog(@"This is line %i.\n", n);
}
}
return 0;
}
and the output:
Code:
2012-01-23 11:16:16.393 Looping Program[995:707] 20
2012-01-23 11:16:16.397 Looping Program[995:707] This is line 20.
Am I missing a setting in Xcode or something? It says this is the extent of the output, yet I'm not seeing the lines leading up to the final result.