When it comes to C, I think all the friends who have learned it have such a feeling, that is "Let me happy let me worry." "Happy is that the C language function is very powerful, widely used, once mastered, you can confidently say to others," I am a computer master! And it would be easy to learn other languages later. Worry is, C language like "Shaolin Martial arts" general profound, too difficult to learn. In fact, I think the C language is not "difficult (difficult)", as long as you can clear your mind, grasp its essence, then self-study C language is a very easy and fun thing. Today I would like to talk with you about how to learn C language or learn C language should start from which aspects.
Learn some basic knowledge
A Background of C language
On personal feelings, no matter which language you learn, you should first understand the background of the language you are learning, or it can be said that its history.
C language belongs to the Advanced Program language, its predecessor is "ALGOL". Its founder is Brown · W. Carney and Dennis · M. Leach. The C language comes with a lot of limitations because it can only be used on UNIX systems. However, with the progress of science and technology, the development of computer industry, C language gradually separated from UNIX. 1987 American Standardization Association developed the International standard of C language, referred to as "ANSI C", since then it became a widely used programming language. C language has many advantages, the main is the following four points:
1. The advantages of both advanced language and low-level language belong to an intermediate language.
2. It is a structured programming language, which is very suitable for structured programming.
3. There are richer data types, operators, and functions to choose from.
4. Dealing directly with memory makes it easy and easy to modify and edit other programs and documents.
Two Two different learning methods in two major languages
I have learned a lot of programming languages, such as: c,c++ (C language extension), QBASIC,VB (Basic visualization), Javascript,jscript, Vbscript,java,asp,foxpro,perl, etc., on my practical income, In fact, the Advanced Program language is divided into two major families. All the way is a C-oriented program language, such as: Javascript,java, such language in the function of the call, program statement writing, loop control are very similar. The other way is based on basic program language, such as: Foxpro,vbscript, such languages have similar function calls, program statement writing and circular control, but with the C language is different. Therefore, if you have started from QBasic, then it is best to wash the brain before learning C language, do not learn basic methods and ideas used in C body.
Here, I think we must have a perceptual knowledge of C language! Let's make a further sublimation and touch it all round. Learn C language must start from the following four points, that is, as long as you can master the content of the four points, then basically done.