First lesson in school-documenting the path to iOS development

Source: Internet
Author: User

Learn a new language, our first step in accordance with international practice is often: write a program output: Hello,world.

When learning C language, use the following program to print out "Hello,world":

#include <stdio.h>int main () {printf ("hello,world\n"); return 0;}

The first C language program contains: standard library information, main function, and call library function printf function printout: Hello,world

Similarly, when learning objective-c, the implementation of my first program target is printed out "Hello,world" by this program:

#import <foundation/foundation.h>int Main () {NSLog (@ "Hello,world"); return 0;}

In contrast to the two small programs, their bodies are the same, or the code is the same way of thinking, just different in detail, after compiling, linking, and then running the printout

Hello,world

A good day has begun!

First lesson in school-documenting the path to iOS development

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.