Seeing many beginners issued a post, feeling a lot, so make this article, beginners talk and look, experience the rich help. For those who learn C language, they want to test what certificates, thank you, please turn off this window.
I have used it for 12 years of C language, and it should be an experienced experience, some suggestions should be given to beginners.
The programming language is actually a very primary tool, but you must master it, learn the programming language, it seems to learn to write, but people who will write will write articles, and write articles and worse. Well. But if you don't write, you can't write an article.
First, you should learn the computer foundation before learning C language. Many concepts inside are very important for C programmers. If you start learning C, or have already started learning C, but I have encountered a lot of questions, I should take a good look at the computer base book.
If you have enough patience, full perseverance, you should learn compilation before the C language, which will make you a clear understanding of many more delicate concepts, if you don't have patient (forgiveness, most people Maybe not). Then look at the textbooks after watching the C language, but must see it again, I believe I will benefit a lot.
Seeing some people issued a message, it is clearly not careful to think about problems, or have not been seriously reviewed, because the grammar and logic errors are really unaccompracted. Want to come to the top of your language, the teacher will not let you go. Why don't you first make the foundation? Some people complain that because the textbook is not good, the teacher is not waiting. But I am learning C language under TC2. At that time, in addition to Tan Haoqiang's book, I can't find any other books. I don't plan to make any opinions on Tan Haoqiang's book. It is also called a good book, but if this is able to learn well, all of them are optimistic, remember, it should have a considerable level. It is recommended whether to see what book, first understand, don't greed, you should strive to understand in-depth understanding.
If you can more skilled all the exercises on a textbook, then you should go to the algorithm's learning, even though your C language is still not well, there are many details, there are still no understanding, many problems have not It is encountered, but these problems will be solved in the work and learning.
In the past, there was a famous formula, which probably: program = language algorithm data, do not know now not to mention this. May now add more content: project management, quality control, code specification ............ But this formula still has a considerable reference value, or uses a write article to class, the language is better than text, the algorithm is the idea of the article, the data is the content of the article. Therefore, after a stage of literacy, you should try to publish your own thoughts.
After a zero zero-dispersed algorithm, after the word "algorithm" has concept, it should systematically learn the algorithm. This process is combined with data. It should look at the data structure, and must be skilled. Master. One book mentioned here is "Operations", most of the algorithm can be implemented in computer, I recommend this book reason ... it not only introduces the algorithm for specific issues, but also explains why why do you want this, How to get this algorithm, and so on. There is a great help to raise the ability to think about the problem.
If your energy and time allow, you should start a lot of reading and writing code, both are equally important. "Reading to break through 10,000 volumes, the pen is like a god", although this learning method is less efficient, and it is very boring, but it should be seen that this ancient education method has cultivated the elderlywen, and the current Chinese education is cultivated ... ......... (, the current situation of Chinese education in primary and secondary schools know, I am the victim). The reading code is indeed a very hard thing. I have tried to read all Linux keratogen code, and finally only one tenth, and it is halfway, but it is still very Help. As for a large number of writing code, the reason is simple: practical technology should be improved in practice. But pay attention, if you have already learned the C language and data structure (and learn well), you should not focus on those small programs. That is a waste of time. At this time, some somewhere should be prepared. Sexual procedure. And start some ideas of software engineering during this process. The first program written out must be a bug, a little modification, a little debugging, will pass. For writing code, I am talking about the book of Tan Haoqiang, when I first saw the condition branch, I suddenly excited, I want to write something, so I read some TC2 help, understand the graphics Programming, I wrote a game of fruit gambling discs, maybe some people have seen it in the game hall, which is the class of apple oranges. You can imagine, I will not be array, I don't know the loop, so all this type of thing is done with goto. This historical program is actually running normally. Later I found a cycle. So, then replaced this code, when learned an array, finally put those small lights in the position of the screen, when learned the file, put the graphic into the binary (original one line, A point of painting), can't remember how many times have been modified, and after the program can run, the length has become 127 lines from 2700 lines. So, I want to learn good programming is a bit perseverance. Finally, I will learn that C is first learned first. This question is insighting, my opinion is to learn C.
Although I now use C, the C language is indeed a more foundation, and some of the issues of C must consider some of the issues (such as memory operations). The beginners of the C language may have something to understand, otherwise they will commit error. These just have morning sooner, but because C focuses on the concept of higher levels, these issues may be ignored during the process of learning C , so that some people have used C for more than two years, or some problems are not very clear. Another major reason is: C is too good, and C programmer will feel that he feels better than the C programmer (they do have such a reason), so you may not be able to learn C after learning C . What is concerned, such words will miss a good opportunity to improve.
Finally, I hope that the learning process will be smooth and progressive! !