C ++ (1)

Source: Internet
Author: User

1. A byte is 8 bits, that is, 8 "1" or "0 ".

2. The memory is divided into a list of byte numbers, which are the address of the byte.

3. A group of consecutive bytes can be used as the storage location of a data item (such as a number or letter), or as a memory block. The location of the first byte in the group is the address of the larger storage location, also known as the memory block address.

4. A compiler is a special program. It can convert a high-level language program (such as a C ++ program) or a source program into a machine language program or a target program, allows the computing to be understood and executed directly.

5. The objective code (Target Program, machine code) of the C ++ program and the routines used by the program (such as Input and Output Routines) are actually compiled input and output operations, for example, input/output functions. The process of merging the target code becomes a connection, which is synthesized by a program called a connector. For simple programs, the connection is automatically completed.

6. the core technology of computer programs lies in repetition.

7. algorithms are a series of accurate commands that can solve the problem.

8. The program design is divided into two phases: 1. the problem solving stage, that is, the algorithm design. 2. The implementation phase is the encoding process.

9. software lifecycle

(1) Task Analysis and standardization (problem definition)

(2) software design (Object and algorithm design)

(3) Implementation (encoding)

(4) test

(5) Maintenance and System Optimization

(6) abandon

10. Features of C language: (1) direct operation of computer memory by C language (2) features of C advanced language, which is more suitable for compiling operating systems than assembly (3) (4) it is not as understandable as other advanced languages (5) it does not have a complete automatic check function.

11. cout <"press return after entering a numbei. \ n": it is understood that "press return... number. \ n" is sent out. Or read as: output "press... number. \ n"

Cin> number_of_pods: Obtain number_of_pods From cin, or enter number_of_pods as a simple reader.

From: StarrySky)

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.