iOS first day

Source: Internet
Author: User

Shortcut keys for running programs Commond+r

#include <...> introduction of the system's own files

# include "... "Introduce your own defined files

. h is a header file, used to declare some common functions, if you want to use these functions, you must include this header file

The printf function is declared in the stdio.h file.

The main function returns the int type by default if the return value is not declared, or void if no return value is declared

C language file extension. C

Write program = "Compile =" link = "Run

Compile: Put main.c= "main.obj

Test.c=>test.obj

But the header file does not need to compile, compile only check the legitimacy of a single file

Link: main.obj+test.obj+c language function library = ". exe"

The legality of the entire document when linking

The C language program compiles from top to bottom, the invocation of the method is sequential, but can be declared after definition!

iOS first day

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.