Compared with other programming languages, C language is still relatively difficult. Beginners need to pay attention to a few points:
First, the learning sequence
Start by getting familiar with simple C language syntax, and then proceed step by step , learn C syntax, WIN32, MFC, QT, network programming, database, data structure, algorithm, COM, STL, etc. Build a complete C language knowledge system. This requires a relatively long process of learning and accumulation. The introductory part of grammar takes about 2-3 months, and other parts need to be slowly understood and digested through study and work.
The second is the learning method
80% of human knowledge is acquired through the eyes, but learning Programming is different. In addition to reading books and watching videos, the key is to work hard and use your brain frequently. Continuously accumulate code volume through doing a lot of exercises and actual project operations. Only when you have enough code and do many projects can you truly learn it. Completion of the project is the only criterion for measuring learning. In the later stage, it will be a matter of code quality and optimization. This can only be gained through slowly accumulating experience in project work.
Finally, I would like to emphasize one point
Many people cannot learn programming because Fell into a pit. It's just that the knowledge points in tutorials or books span too much. As a beginner, it's difficult to figure it out on your own. If you don't master the previous knowledge points, you will definitely not be able to learn the later knowledge. At present, most programming books and tutorials have more or less such drawbacks. People with strong self-learning ability can solve the problem themselves through various methods and refer to various online materials. However, most people who are not very capable of self-learning can only rely on teachers, classmates, colleagues or friends for guidance, or sign up for a training institution and the teacher's guidance is completed.
Learning programming usually requires some good learning materials, including paper books, video tutorials, courseware, project exercises, and code. Recommended books for beginners to get started with are "Explaining C Language" and "C Primer Plus". There is also a very special book that combines the forward and reverse aspects of assembly and C language. The internal textbook "Assembly and C Language Basic Tutorial" is also very good. , explains the essence of assembly and C language very thoroughly and in detail. There are also a lot of video materials, available on various video websites, forums, and self-media, such as NetEase Classroom, Tencent Classroom, and Muke.com. There are also some forums, such as CSDN, Programming China, etc. The most important thing is the Q&A service. The recommended website of Aidaren is also very good. From zero-level entry to application courses, supporting videos, courseware, codes, projects, and Q&A services are all available. You can also work part-time to take orders and apply what you have learned. .
Recommended tutorial: C language introductory video tutorial
The above is the detailed content of How to learn c language by yourself. For more information, please follow other related articles on the PHP Chinese website!