C Language Learning Method

Source: Internet
Author: User

By Qian Kun

Abstract: I learned C and recommended a good book to learn C.

Source: Qian Kun's smile blog, smile and chat

Let's talk about our learning methods! :)
You can learn either way or not. But if someone else learned it in one month, but you did not learn it in 100, isn't it too late? :) So we should pay attention to methods for learning. The learning method is correct and get twice the result with half the effort.
What is the shortcut to learning C language? My answer is reading a book. The book is written by the first ten years of experience. Reading ten books is equivalent to learning the skills of the previous ten years. Then, your internal skills will rapidly increase by 1. :) Of course, books should read good books. Only good books are nutritious. If it takes you one day to read a broken book, and the knowledge introduced in this book is completely new to you, but due to improper organization or insufficient depth, it makes you get little nutrition, and it's better to study it for a day. This kind of book is not worth reading. What are the good books to learn C language? I think the basic books should be well read first, for example, four books and five classics in C language. (Although many of these books are out of print, I believe that the electronic version is also very beneficial. Besides, if you really want to see it, I believe you can do it .) You will read these books in a short period of time (for example, a month or two), depending on your foundation and understanding. What about those books? I 'd like to list a few more. Bjarne stroustrup's c ++ programming language (The C ++ Programming LanguageIt must be noted that the definition of some basic concepts of C in this book is more comprehensive than any other C language book I have ever seen; bjarne stroustrup's c ++ language design and evolution (The design and evolution of c ++) And David R. Hanson's C language interface and Implementation Technology for creating reusable software (C interfaces and implaementations techniques for creating reusable softwareThese two books tell you how to use C to handle exceptions, encapsulate and expand implementation types, and other advanced technologies that are frequently used in large projects. Other Books, operating systems, compilation principles, algorithms, and modes. Reading a book is so powerful as coding. All in all, just like the cloud in "Biography": "The person who is born and knows, also the person who learns and knows, and the second who is sleepy and learns ." We cannot always learn it because of our difficulties, but we need to be able to continue without any changes.
Reading a book is a Learning Guide. The book can clearly introduce concepts, but the book cannot introduce the details of the application to you one by one, because the application is always complicated and changeable. Therefore, we need to be familiar with the tricks, understand how to use them in the book, and read the source code more. When Linus answers questions to others, it is often said to read the fucking source code; Hou Jie also mentioned in his article that "there is no secret before the source code ." This is the rumor of the master. The source code is like an animation, just like a slide. Let's show you the tricks in the book. It can be said that the experience of experts is mostly from code. The source code is the same as the book. It should also be good. Here, we recommend that you refer to Linux kernel source code and Linux TCP/IP source code. These two sets of code are both open-source and easy to use. In addition, it can work with Andrew S. Tanenbaum's "Operating System Design and Implementation" (Operating Systems: design and implementation), Mao decao Hu Ximing's "Linux kernel source code Scenario Analysis", Jonathan Corbet, Alessandro Rubini, Greg kroah-Harman co-authored "Linux device driver" (Linux Device Driver, 3e), W. Richard Steven s "TCP/IP details (3)"(TCP/IP multicast stracted), W. Richard Steven s advanced programming in UNIX environment (Advanced Programming in the Unix environment, The new version adds the Linux kernel content) and other books, it is very convenient.

Of course, the program is not visible, but written. When I was in high school, I insisted on writing a program for six hours every day. Data Structure, arrangement and combination, and graph theory exercises were repeatedly performed n times. Although it has passed through year 56, many content has been forgotten, but it has developed my strong coding and debugging capabilities, and it is still very helpful for my work.

Learning should not be greedy, impetuous, sharp success or quick success, and no one in sight. Keep your learning plan longer and cultivate a good learning method.

Appendix C language four books Five Classics:

1.
C programming language (version 2nd · New Version)
Original Press: Prentice Hall PTR
Author: [us] Brian W. kernighan, Dennis M. Ritchie
Translator: Xu Baowen Li Zhi
Book No.: 7-111-12806-0
Page number: 258
Release: 16 releases: 2-1
Series name: Computer Science Series
Press: Machinery Industry Press
Published on: 2004-1-1
Pricing: ¥30.00

Ii. pointers on C
C and pointer
Original Publishing House: Pearson Education
Author: kenth A. reek
Translator: Xu Bo
Book No.: 7-115-11456-0
Page number: 450
Release: 16 releases: 1-1
Series name: a selection of C and C ++ practices
Press: People's post and telecommunications Press
Published on: 2003-9-1
Pricing: ¥55.00

Iii. Expert C Programming
C expert Programming
Original Publishing House: pH PTR
Author: Perter van der Linden
Translator: Xu Bo
Book No.: 7-115-10627-4
Page number: 291
Release: 16 releases: 1-1
Series name: a selection of C and C ++ practices
Press: People's post and telecommunications Press
Published on: 2002-12-1
Pricing: ¥40.00

IV. C traps and pitfalls
C traps and Defects
Original Press: Addison Wesley
Author: Andrew Koenig
Translator: Gao Wei
Book No.: 7-115-10623-1
Page number: 172
Release: 16 releases: 1-1
Series name: a selection of C and C ++ practices
Press: People's post and telecommunications Press
Publication date: 2002-11-1
Pricing: ¥30.00

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.