1

Pardon me for this silly question. I would like to know is there any possibility to run the following program in windows

 #import<Foundation/Foundation.h>

int main(int argc,const char* argv[]) { 

NSAutoReleasePool *pool =[[NSAutoReleasePool  alloc]init];

NSLog(@"Hello World")

[pool drain];

 }

I know there are objective c compilers available for windows but I want to know is there anything support The <Foundation/Foundation.h>

1 Answers1

1

Yes. One possibility is to compile it with GCC using the GNUstep framework.

Adam Rosenfield
  • 390,455
  • 97
  • 512
  • 589