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.