I've just finished the K&R c, And begin to study c++ myself,so can
anyone give me some advice?such as some books to read,and something to
notice?
Thank you very much.
If your familiar with C, The C++ Programming Language by Bjarne
Stroustrup is a good reference. My top 5 is as follows:
1) The C++ Programming Language by Bjarne Stroustrup
Good reference for the core language and even most of the standard
library. Lots of helpful tips as well. Slightly disorganized. I don't
recommend reading it cover-to-cover, just use the index.
2) The C++ Standard Library : A Tutorial and Reference by Nicolai M.
Josuttis
Probably the best reference for the standard library. Again, not the
best to read cover-to-cover.
3) C++ Templates : The Complete Guide by Jousuttis and Vandevoorde
The one-stop-shop for everything templates. Especially recommended
for those who want to gain deeper knowledge of generic programmer
(also recommended for those who are trying to decipher boost::mpl ><)
4) Modern C++ Design : Generic Programming and Design Pattern Applied
(Alesandrescu)
Great book. I think of it as a "bag of tricks" except that all the
tricks are already implemented in boost (and if boost isn't your cup
of tea, Loki is freely available as well which is based off the code
in this book). Recommended if you want to step out of novice-land and
stick your foot in the door leading to the bizarre world of expert-
land.
Last, but not least...
5) ISO/IEC 14882:2003 Programming Language C++
Big. Verbose. The words look like English, but I have no idea what
language they actually are (read: extremely technical and precise). If
this can't answer a core-language question, either a) you've given up
trying to understand the definitions (which for me is quite often the
case) or b) your compiler has non-standard extensions or does not
fully comply with the standard.
Chris