C 完全不完全資源導引

2021-04-01 22:28:17 字數 1971 閱讀 2109

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〉中文版, stephen c. 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 完全不完全資源導引 書籍篇

三軍未動,資料先行。書山碟海,只列其中最好的。統統都可以emule找到。1.快速入門 accelerated.c 2000 essential c 2002 lipman 兩本都是開篇就講c stl,絕口不提c,而且都有中文版。2.枕頭參考 c primer.4th 2005 lippman,第3版...

不完全型別

c 允許在一個 檔案中存放多個類,但這樣往往不便於類的管理,所以一向是提倡一個檔案中只存放一個類。不過呢,隨著類規模的不斷膨脹,一個檔案中存放一個類也有些顯得臃腫,或者是在某個角度上不便於 的組織。因此,c 2.0中引入了不完全型別的概念,即啟用了新的修飾符partial。藉助該修飾符,我們可以在多...

不完全型別

不完全型別指 函式之外 型別的大小不能被確定的型別 總結一下,c的型別分為 結構體的宣告就是一個不完全型別的典型例子。struct woman tag struct man tag struct woman tag 這樣是沒問題的。如果將man tag結構中的struct woman tag wif...

不完全型別

有時候我們在一些編譯器寫 的時候會碰見不完全型別這個編譯錯誤,那麼什麼是不完全型別,為啥會出現呢 不完全型別指 函式之外 型別的大小不能被確定的型別 只能以有限方式使用。不能定義該型別的物件。不完全型別只能用於定義指向該型別的指標及引用 1 或者用於宣告使用該型別作為形參型別或者返回值型別。c的型別...

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...