MCU單晶片韌體設計

2016年4月29日 星期五

溫故知新--Essential C++


個人在大學時期就拜讀過候捷大師譯的兩本書,《 C++  Primer 中文版》、《Essential C++ 中文版》。如果你是新手想要學,個人認為可先以《Essential C++ 中文版》作為第一本導入門教材的確不錯,因為它只有200多頁,書沒有太厚,至少你不會覺得讀完遙遙無期,但仍然給了你C++語言的正確觀念! 現在很多的C++書都是C語言的翻版而已,加了一點 class 和繼承,就以爲是OO,其實還差得很遠。

很多人只是用了C++ compiler , 但程式內容和 C 沒有什麼兩樣,也看不出 OO 的設計精神!  把 printf 改用 cout 不等同於會 C++






《Essential C++ 中文版》你可以深入了解:

• Generic programming and the Standard Template Library (STL)
• Object-based programming and class design
• Object-oriented programming and the design of class hierarchies
• Function and class template design and use
• Exception handling and Run-Time Type Identification

沒有留言 :

張貼留言