on 3d07dec help sign in
32 lines 542 B history raw
1#import <myClass.h>
2@import Foundation
3// Single line comments
5/*
6 * Multi line comment
7 */
9int main (int argc, const char * argv[]) {
10 NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
12 NSLog(@"Storage size for int : %d \n", sizeof(int));
13 NSLog (@"hello world");
14 if (NO)
15 {
16 NSLog(@"I am never run");
17 } else if (0)
18 {
19 NSLog(@"I am also never run");
20 } else
21 {
22 NSLog(@"I print");
23 }
25 [pool drain];
26 return 0;
29@implementation MyClass {
30 long distance;
31 NSNumber height;