Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Doju

macrumors 68000
Original poster
Jun 16, 2008
1,510
1
Code:
// First program example

int main (int argc, const char * argv[])
{
	NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
	
	NSLog (@"Hello, world!");
	
	[pool drain];
	return 0;
}

In Xcode, I select Build and Run (command-R) but it just says it debugged in the bottom left corner (Debugging of "prog1" ended normally.)

But, I want it to actually display the Hello World like the tutorial I'm falling says it should. How do I get it to do this?

Thanks in advance.
 
Code:
// First program example

int main (int argc, const char * argv[])
{
	NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
	
	NSLog (@"Hello, world!");
	
	[pool drain];
	return 0;
}

In Xcode, I select Build and Run (command-R) but it just says it debugged in the bottom left corner (Debugging of "prog1" ended normally.)

But, I want it to actually display the Hello World like the tutorial I'm falling says it should. How do I get it to do this?

Thanks in advance.

press on
1479950.png
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.