Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Iphone Objectivec Objective C Hello World

Related Tutorials


 
 

Share on Google+Share on Google+

Objective C Hello World

Advertisement
In this section I will show you how to develop Objective C Hello World program.

Objective C Hello World

     

In this section I will show you how to develop Objective C Hello World program. In the next section I will show you how to compile and execute the Objective C Hello World example on windows machine.

Create first objective-c program ?hello.m?

 

 

This is a simple program to print Hello, World!

#include <stdio.h>
int main(void)
{
        printf("Hello, World!");
        return ;
}

Save this program with .m extension here 'hello.m' in newly created directory c:/objectiveC.

On the unix or Mac OS x machine save the file in any of your favorite directory. In the next section we will show you how download and install GNU c compiler on your windows machine to compile the application. GNU compiler can be used to compile the Objective C programs.

Advertisement

If you enjoyed this post then why not add us on Google+? Add us to your Circles



Liked it!  Share this Tutorial


Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.

Posted on: September 12, 2008

Related Tutorials

Discuss: Objective C Hello World   View All Comments

Post your Comment


Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 
Comments:1
Miguel Victor
December 7, 2012
Very Similar

Very similar with C programming :)
DMCA.com