Sender:
GAOBO (Di Ligeli), the letter area: C
Title: C books
Sending station: Drinking water Source (December 01, 2003 09:01:35 Monday)
first time
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 big
The amount of book can be solved. 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 life in life
C , 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, understand
A history of this language. Next, you can see another book, but you have to look back in this book, see
How is your new technique that you have learned is to be 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
This book is very huge, 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 said, and
And very clear.
The second should stop the technical level, calm down, see Pike and Kernighan's the Practice
Of Programming, which should be touched and 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
I have to reread again in half a year. It can be said that each chapter is written in the deep province. This book makes me feel
The technical use is very high, but the language is very flat, as long as it is seriously read, even if the foundation is not
It must also be understood. 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 Scott
MEYERS's Effective C and More Effective C bring our endless benefits. My more
Effective C can't afford it, I have to spend 10 yuan copy and bind a "online installation", look like a sunflower flower.
Collection (;-)). These two books are real classics, the author's soffs of C , make language style read
It's like a sweet, just like he stands opposite the lecture. I have the original CD of these two books in my hand, if it is happy
Interest, you can send E-mail to sjtu@263.net or we want to cast the water to Gaobo, as long as you provide
CD I will burn free. If you have deeply understood Effective C and More Effective
C , then you can find that you are already the crane of the chicken in everyone. Can guide the project operation, you can edit
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 realm is enough to make you freely, but
If you are still not satisfied, I want to pay attention to some theoretical levels, or want to see the code implemented, you should not
Missed this kind of book. I am saying Herb Sutter Exceptional C and More
Exceptional C , the difficulty of these two books is very large, I have more than ten reading notes for every reading.
page. Especially the part of the generic programming, these two books are levied, and they can explore things in depth.
Look, I'm moving it once, I am so happy; there is also the example of Houjie's STL source code to actually
The example explains how STL is achieved at a little bit, I just started reading, did not comment;
STANLEY B. Lippman, one of CFRONT's implementation, writing INSIDE THE C Object
Model, I only have a word, that is, the basic handsome stay. I learned about countless compiler to explain the source code.
Detail, as well as the details of the memory allocation, huh, huh, these know, what are I afraid of? Recently get
Another CFRONT implementator, C Standard Board Koenig's C Shen Si Lu, looks very good, this
I also recommend it to everyone, but I haven't finished reading, and there is no say.
Finally, you, future C theoretists, you can remember, Bjarne Stroustrup's THE C
PROGRAMMING LANGUAGE should read a four or five times in any case! 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 VC or a specific compiler
Don't look at it. If you need to make a class lesson, buy a very small K & R of the C
PROGRAMMING LANGUAGE is enough, and other books will not be seen. Don't learn C, learn C , but
Teaching C . You are not learning ancient text, then learn the vernacular, right? So I believe me, it is more easier.
All the above text is original, I am willing to be responsible for each word.
Second article
For a long time, I have been studying two books during this time. I can't say a word.
1, "Effective STL"
order:
http://www.cnforyou.com/query/bookdetail.asp?vibookcode=8537
Author: Scott Meyers
Publishing House: China Power Press
At the beginning, I bullied this book relatively thin, I would like to finish it, but I will find that I haven't moved it. straight
After reading 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 think that he often talks.
The place to dig out unexpected new ideas and point out that some people habitually have all kinds of crises.
Or in some desirable options, choose the most effective in specific occasions (MOST
Effective) that kind. And his cutout is always aware of it (unlike Stroustrup book,
In the first sentence, I have to wonder half a day), but he always chooses several extension points and analyzes them.
To, at this time, a piece of code is required or even the granularity of the statement - of course, the last is always
I don't understand that this is always proportional to the reading level of the reader, which gives great achievements. Can say, in STL
Practical books, no books can make it right (of course, I still have to recommend Houjie to everyone in STL.
"STL source profile").
After reading this book, and Pascal has a significant distance. I still want to say this here: Please love
Delphi! I am still more willing to write "Var S: set of char;" rather than
"Set
2, "MODERN C Design"
Order (Chinese):
http://www.cnforyou.com/query/bookdetail.asp?vibookcode=8184
Order (photocopy):
http://www.cnforyou.com/query/bookdetail.asp?vibookcode=8319
Author: Andrei Alexandrescu
Translator: Hou Jie, Yu Chunjing
Publishing House: Huazhong University of Science and Technology Press (Chinese)
China Electric Press (photocopy)
After reading the first page of this book, I know that I can't let it go, but I know, my suffering experience
More than one more. The design pattern is used in C , which is already difficult, but this book is obviously
A Template's object model, this is when I read "Inside THE C Object Model"
Difficulties with repeated attack. However, unexpectedly, this book actually made me have some concepts, and I wrote it.
Out of a smartpointer.
I can't say this book, I can't say it, but I'm finished. If you haven't read the object model yet
And the book of design patterns, I think I need to read it. Otherwise, it is directly guilty of this book. Recently, there is
Some friends also noticed the importance of design patterns, which may be issued from "Computer News" next year.
Article, ask friends to advise.
In addition, the Effective C review continues, I am more fearful now, but confidence is more.
-