C Language Programming preparation knowledge (C language learning Essay II)

Source: Internet
Author: User
C Language Programming Preparation knowledge

1, CPU, memory, hard disk, motherboard, the relationship between output devices: From the point of view of data processing, first of all the data in the hard disk into the memory, and then the CPU to be transferred into the memory of the data processing, and finally through the specified output device output. The main role of the motherboard in the process is to connect the various components and data transfer.

2, C language program How to run up: first of all, C language source program compiled completed to generate an. exe file, and then see the. exe file to the CPU execution.

3, the data type so name thinking is the type of data. Data types are mainly of integer, floating-point, character.

The essence of a variable is to get a storage space in memory. The format of the variable definition is as follows:

Data type variable name = value to assign:

Equivalent to

Data type variable name = variable name = value to assign:

Note: The reason variables must be initialized: The space in which a software is allocated is likely to have residual data that was previously used by other software, which is called garbage data. And junk data can have a negative impact on our software.

4, CPU, memory, vc++6.0, the relationship between the operating system: vc++6.0 as required to the operating system to apply for the appropriate execution, and then the operating system to dispatch the appropriate resources (CPU, memory) to perform the corresponding operation vc++6.0 proposed.

5, the system is counting the way, generally to every n into one said.

6, the constant in the computer storage binary code mode:

A, integer is in the form of complement to binary code stored in the computer;

b, real numbers are converted to binary code stored in the computer with the IEEE754 standard;

C, the nature of the characters is actually the same as the storage of integers.

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.