c++000001

Source: Internet
Author: User

The statement "#" is called a macro definition or precompiled directive

Single-line comment/**/Multiline comment

function return value: Void means that no data is returned, and return statements are required if the data is returned

-------------Data Type-------------

The data type determines how much memory is used to store the data.

4294967295 is the maximum number of positive integers allowed for 32-bit CPU registers

Octal starts with 0, each value range is 0-7, the hexadecimal prefix is 0X or 0x, the digital value range is 0~9, and a~f or a~f.

Character constants are single-quoted characters, string constants are 0 or more characters enclosed in double quotation marks, and the string constant "a" is made up of ' a ' and ' two ' characters.

BOOL constant: TRUE, false.

Identifier: identifier. Case sensitive

Variable declaration: [Signed] short [int]

CIN reads the data as a variable with a space or carriage return as its end flag.

c++000001

Related Article

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.