Beginners C Language Friends should first understand the C language key core concepts (structure, three execution flow, priority, pointer, file, common body, function, scope, overload, etc.), only to understand these can in the future learning to grasp the essence of C language. These concepts, like logical lines, put the whole C-language system through, giving people a "structured" ideology. Let me briefly talk about these core concepts.
1, from the macroscopic point of view, the structure is the C language Programming thought Foundation, namely C language each function module is a structure, each structure realizes an operation or an algorithm, this structure uses the curly brace to denote "{}", the curly brace inside is the algorithm. It is especially important to note that the curly braces "}" are enclosed where you decide where to end the algorithm function. These are mistakes that beginners often make, often making the end point of the algorithm function wrong.
2. Three execution processes are sequential processes, conditional processes, and cycle processes. Each of the three processes is a computer-wide execution process, a process that must be understood, and each algorithm is based on the sequence of three process executions.
3, priority is a number of functions and time-of-priority algorithm of the privilege, no attention to priority order will be the algorithm error, these priorities must be remembered.
4, the pointer is the C language important characteristic, is the computation speed to speed computation the important essence. It is the operation of the data address, not the operation of the data.
5, documents and common use is a very simple concept, no need to say more. As the file name implies, as with everyday concepts, it is not too difficult to learn about a common body of data software.
6, from the microscopic point of view, the function is the C language driving mechanism, all the statements are driven by the function to achieve. Remember the function commands and the related configuration parameters, you can take advantage of C. Note that the function cannot be mistaken, or you will get the wrong result. If you can learn to debug, it will be a deeper layer of understanding function function.
7, the scope of the same as the use of the term, indicating the role from there to there, outside of this will not work (over
Time is not worth the money.) Grasp the scope of the use of the way, you can clear the relationship between functions, will not be lost in the huge function of the name of the direction.
8, overloading is for the convenience of users, using a mechanism similar to the invocation of the user to reduce the write time function. Like looking up a dictionary, you don't know a word, you have to look it up in a dictionary (equivalent to calling other tools to do what you want to do), and looking up a dictionary is something you've learned and you can do it. Learning the C language is not enough to understand
Learn C language at first