- First, 工欲善其事, its prerequisite
Here are a few devices and books to learn about the C language:
A) Development environment
For example, the Turbo C 2.0, which once occupied the DOS era of the development process of the majority of the country. But now in the Windows era, with the Turbo C has a sense of the aspect, the editing program is very laborious, and drag and drop, there is no function variable automatic induction function, query reference material is not convenient. It is recommended to use Visual C + +, although this platform is large, but once installed, it is convenient to use.
B) A Learning tutorial
Now there are a plethora of C language textbooks, we recommend that you use the second edition of C language programming. This book is suitable for beginners, and the content is very subtlety.
C) use of assistive learning software
After all, now is the Windows ERA, there are a lot of learning software, here to recommend an "Integrated learning environment (C language)", the inside of the knowledge of the summary and routine explanation are very good, there are good thousands of questions of the test environment, including a Windows Trubo C, Beginners can practice programming without even having to install other compilers. There is a "C language learning system" software, but the feeling is only a question bank system, if you feel that the problem is not enough, may also try.
- 22. Sunflower Treasure
What is the best way to learn computer language? Answer Yue: Read the procedure.
Yes, reading a program is the fastest and best way to get started with the C language. We all should have an experience--in the process of initially learning Windows system operations or Microsoft words if the course of action, just beginning always serious to buy textbooks, the results read to read but Foggy, and when we put the material aside, pick up the mouse to try repeatedly, a few hours to fix. Including learning j#,c# and other languages, in today's era of windows, but also no longer advocates of holding books to chew, but to learn their routines.
Of course, for beginners who have not learned any computer language, how much to read the tutorial first, carefully understand all the concepts, and then do not miss all the examples mentioned in this chapter, carefully read, until each line is understood, and then find a few programming topics, preferably with a routine similar or the same, I try to write this paragraph has been read the program. If you can't write it out, go back to the routine and think about why you can't write it, and then write the program again and again until you extremely easy.
- 33. The Pinnacle
The best way to write a program is to master a variety of solutions (data structures) and problem solving methods (algorithms).
is writing the bottom-level program a master programmer? Non-Also, write the underlying program, nothing but the structure of the hardware, and hardware and hardware is not the same, to give a chip to write the driver, is to master the various registers and combinations of this chip, and then write value read value, just that. It's just familiar with some I/O functions. So what's the mastery of programming? How can you master programming? As an example:
You have 10 people in front of you, find a person called "Zhang San", What should you do? The first method: directly to these 10 people asked: "Who called Zhang San." The 2nd method: you ask each other "Are you Zhang San?" "Until the man who asks is Zhang San." The Third Way: you ask a person, "you do not know Zhang San, point to me to see." Do not underestimate this problem, you said of course will choose the first method, then congratulations to you correctly, because this method is the fastest, most efficient, but in the program design to find the best way to solve the problem and you use the means is to test a programmer programming level of an important symbol, and is not easy to achieve. The problem is similar to the data structures and algorithms: Map data structures, exhaustive lookups, and binary lookups. So mastering the data structure and some common algorithms is the inevitable way to the pinnacle.
Talking about how to learn C language programming well