C 完全不完全資源導引 書籍篇

2021-08-22 01:44:53 字數 2004 閱讀 5515

三軍未動,資料先行。書山碟海,只列其中最好的。統統都可以emule找到。

1.快速入門

〈accelerated.c++〉2000

〈essential c++〉2002 lipman

兩本都是開篇就講c++/stl,絕口不提c,而且都有中文版。

2.枕頭參考

〈c++.primer.4th〉2005 lippman,第3版有中文版,當入門書看也無不可。

〈the.c++.programming.language.3rd〉bjarne stroustrup ,簡稱tcpl。

3.專門書籍

stl參考:〈the.c++.standard.library-a.tutorial.and.reference〉1999

號稱最好的stl參考,但我覺得很像jdk文件。

boost參考:〈beyond the c++ standard library - an introduction to boost〉2005

介紹了boost的一些重要類庫,但其餘的還是要看boost自帶文件。

c++ template參考:〈c++ templates - the complete guide〉2002

對template講得相當深,無愧於the complete guide的書名,ytam說可以作為mcd的前傳和續集。

〈c++ common knowledge〉中文版, stephenc.dewhurst

跑杯茶怡然的看看c++裡面那些值得吹噓的知識點是個不錯的場景。

4.effective類

herb sutter, andrei alexandrescu合著一本:

〈c++.coding.standards - 101.rules.guidelines〉2004

meyers的三本effecive:

〈effective c++ 3rd〉2005

〈more effective c++〉

〈effective.stl.50.specific.ways.to.improve.your.use.of.stl〉

〈c++ gotchas〉2002,stephen c. dewhurst

對於後四本,我老覺得是在語言規範下繞來繞去,從工作角度來看是實用,從個人角度看來是無聊。

5.精力過剩類

〈modern c++ design - generic programming and design patterns 〉2001 andrei alexandrescu,推薦,c++裡最值得一讀的書。

〈c++ template metaprogramming concepts,tools and techniques from boost and beyond 〉

herb sutter的三本exceptional,rayman說是打擊信心用的:

〈exceptional c++ - 47 engineering puzzles, programming problems, and solutions 〉1999

〈more exceptional c++〉2001

〈exceptional c++ style - 40.new.engineering.puzzles.programming.problems.and.solutions〉2004

C 完全不完全資源導引

1.快速入門 accelerated.c 2000 essential c 2002 lipman 兩本都是開篇就講c stl,絕口不提c,而且都有中文版。2.枕頭參考 c primer.4th 2005 lippman,第3版有中文版,當入門書看也無不可。the.c programming.lan...

C指標不完全理解

例子 include int main 以下3行效果相同 char p a char p a 0 char p a 0 char pp p printf a p,a p,a p,sizeof a d n a,a,a,sizeof a printf a 0 p,a 0 p,sizeof a 0 d n...

C 刪除不完全型別陣列

看智慧型指標的時候遇到一組函式蠻有意思的,即checked delete t x 和checked array delete t x 這兩個函式的作用是安全刪除引數所指向的變數或陣列。templateinline void checked delete t x templateinline void...