fork(2) download
  1. #import <objc/objc.h>
  2. #import <objc/Object.h>
  3. //#import <objc/Foundation.h>
  4.  
  5. int main(int argc,const char* argv[])
  6. {
  7. NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
  8. NSLog(@"\n\n\t Hello Ritwik \n");
  9. [pool drain];
  10. return 0;
  11. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.m: In function 'main':
prog.m:7:1: error: 'NSAutoreleasePool' undeclared (first use in this function)
prog.m:7:1: note: each undeclared identifier is reported only once for each function it appears in
prog.m:7:20: error: 'pool' undeclared (first use in this function)
prog.m:8:1: error: cannot find interface declaration for 'NXConstantString'
stdout
Standard output is empty