Bjarne Stroustrup's The Design and Evolution of C Stanley B. Lippman's Essential C Stanley B. Lippman's C PrimerPike and Kernighan's The Practice of ProgrammingBruce Eckel wrote, designate Czech translation of the Thinking in C Scott Meyers of Effective C and More Effective C
Some classmates ask me, how to learn C , I don't have any other way to give you, the only way is to read, read a lot of books, you can solve it. To put C as a daily language, not a programming language, so it is good.
Someone wants to ask me, then what book should I read? What should I do if I don't have time?
I can only say to you, if I don't have time, don't learn C , do what you like to do. There is no C in life, and it is also beautiful.
If you are ready to learn, you must learn well, then I have a book, it should be no bigger.
First, you must read the Design and Evolution of C of Bjarne Stroustrup to find out the history of this language. Next, you can see other books, but you have to look back in this book, see how you constantly learned new technology is accepted in this language.
The first book varies from person to person, the foundation is better, you can see Stanley B. Lippman's C Primer, this book is very large, you can don't look at the part of the star. The foundation is not very good, you can see Stanley B.Lippman's Essential C , this book is much more, but the four C models are talked, and it is very clear.
The second should stop the technical level, calm down, see Pike and Kernighan's THE PractICEOF Programming, tailoring, what should be noticed in programming. This very thin booklet can be said to be a guide to programmer.
Third book, it should be written by Bruce Eckel, THINKING IN C , this book is to read it every half a year. It can be said that each chapter is written in the deep province. This book makes me feel a very high realm of technology, but the language is very flat, as long as I read it seriously, even if the foundation is not good, I can understand it. When I am teaching, I use this book (facing students being zero).
To be more on the next level, you have to step by step, first to grasp the good C design habits. This is the endless income of Scottmeyers's Effective C and More Effective C . I can't afford 10 yuan, I have to spend 10 dollars, and look like a sunflower collection (;-)). These two books are real classics, the author's soffs of C , make language style read simply like a sweet, just like he stands opposite in lectures. I have the original CD of these two books. If you are interested, you can send E-mail to sjtu@263.net or to cast a rope to Gaobo, as long as you provide the CD, I will burn free. If you have deeply understood Effective C and More EffectiveC , you can find that you are already the crane of the chicken in everyone. You can guide the project to operate, you can write everything you want to do, you can point out the size of the code that others look good. If you can see someone's code is corresponding to Terms 27 or Terms M6, then you can make your own scraping. I have already talked, if you want to write programs, EC and MEC 's realm is enough to make you pleaded, but if you are still not satisfied, you want to pay attention to some theoretical levels, or you want to see the realized code, you should not Missed this kind of book. I am saying Herb Sutter Exceptional C and MoreExceptional C . The difficulty of these two books is very large, and I have more than ten pages for each reading notes. In particular, the generic program is part of the two books, and the book is taken, and it is very deeply discussed. Every time I understand one, I'm sweating once, I am very funny; there is also the STL source code analysis of the STL, with practical The example explains how STL is achieved, I just started reading, no comments; and one of Stanley B. Lippman, CFRONT, writing Inside THE C ObjectModel, I only have one word, that is Basic handsome stay. I learned the countless compiler to explain the details of the source code, and the details of the memory allocation, huh, huh, these all know, what are I afraid of? Recently, another CFRONT implementator, C standard committee Koenig's C Shen Shuographic, looks very good, here is also recommended to everyone, but I haven't finished reading, and there is no say.
Finally, you, the future C theoretists, you can remember, Bjarne Stroustrup's The C Programming Language should also read a four or five times! This is the source of all C books. If you still feel enough, you will order a C standard to the C Standard Commission.
Everything is a book of mainland Chinese authors, you don't want to see (including me). Everything is a book of VC or a specific compiler, you don't want to see. If you need to make a class of C language, buy a very small K & R of the cprogramming language, and other books not look. Don't learn C, learn C , but directly learn C . You are not learning ancient text, then learn the vernacular, right? So I believe me, it is more easier. During this time, two books have been studying, and I don't dare to say a word.
1, "Effective STL" Order: http: //www.cnforyou.com/query/bookdetail.asp viBookCode = 8537 Author:? Scott Meyers Publisher: China Electric Power Press start to bully the book is thin, want to hurry After reading, but soon I found that I haven't moved. Until the last word, I found a basic fact: thin is not this book, but the knowledge. There are a lot of books on STL, just before reading "Effective C ", there is a lot of books about C . Meyers' book always gives people a feeling of rebellion, he can always dig out unexpected new ideas in everyone, and point out some of the people who are habged, or in some seem to have, etc. In the choice of price, the most effective (MOSTEFFECTIVE) is selected for a particular occasion. And his entrance is always appreciated (unlike Stroustrup book, the first sentence will be wondering for half a day), but he will always choose several expansion points, and analyze them, this time Just a piece of code is even more representative of the statement. Of course, I always understand, this and the reader are always proportional, which will give great achievements. It can be said that in STL practice books, no books can make it right (of course, I still have to recommend Houjie's "STL source profiling"). After reading this book, and Pascal has a significant distance. I still have to say this here: Please love Delphi! I am still more willing to write "Var S: set of char;" instead of "SET
ALLOCATOR
> s ", ;;-).