minor updates

This commit is contained in:
Yannick Loriot 2013-08-13 16:34:12 +02:00
parent 5d800b25e4
commit 50c3526247

View File

@ -151,9 +151,9 @@ int main (int argc, const char * argv[])
{ {
NSLog(@"%d,", ii++); // ii++ increments ii in-place, after using its value. NSLog(@"%d,", ii++); // ii++ increments ii in-place, after using its value.
} // => prints "0," } // => prints "0,"
"1," // "1,"
"2," // "2,"
"3," // "3,"
// For loops statements // For loops statements
int jj; int jj;
@ -161,9 +161,9 @@ int main (int argc, const char * argv[])
{ {
NSLog(@"%d,", ii++); NSLog(@"%d,", ii++);
} // => prints "0," } // => prints "0,"
"1," // "1,"
"2," // "2,"
"3," // "3,"
// Foreach statements // Foreach statements
NSArray *values = @[@0, @1, @2, @3]; NSArray *values = @[@0, @1, @2, @3];
@ -171,9 +171,9 @@ int main (int argc, const char * argv[])
{ {
NSLog(@"%@,", value); NSLog(@"%@,", value);
} // => prints "0," } // => prints "0,"
"1," // "1,"
"2," // "2,"
"3," // "3,"
// Try-Catch-Finally statements // Try-Catch-Finally statements
@try @try
@ -187,7 +187,7 @@ int main (int argc, const char * argv[])
{ {
NSLog(@"Finally"); NSLog(@"Finally");
} // => prints "Exception: File Not Found on System" } // => prints "Exception: File Not Found on System"
"Finally" // "Finally"
// Clean up the memory you used into your program // Clean up the memory you used into your program
[pool drain]; [pool drain];