本課程是由 國立陽明交通大學電機工程學系 提供。
了解物件導向程式設計(OOP)觀念
應用C/C++語言解決各類工程問題
學習標準模版函式庫(STL)的使用
熟悉工作站系統(Linux/FreeBSD)基本操作
課程用書:W. Savitch (WS), "Absolute C++," 4th ed., ISBN:0131365843, Addison Wesley, 2010.
為求學習成效完美,請購買課本!
授課教師 | 電機工程學系 溫宏斌老師 |
---|---|
課程學分 | 3學分 |
授課年度 | 100學年度 |
授課對象 | 大學一年級學生 |
預備知識 | Introduction to Computer Science and Programming (in C/C++) |
課程提供 | 課程影音 課程綱要 課程行事曆 實作課程 Lecture Source Code |
週次 | 課程內容 | 課程影音 | 課程下載 |
---|---|---|---|
Lecture 01 | 線上觀看 | MP4下載 | |
Lecture 02 | 線上觀看 | MP4下載 | |
Lecture 03 | 線上觀看 | MP4下載 | |
Lecture 04 | 線上觀看 | MP4下載 | |
Lecture 05 | 線上觀看 | MP4下載 | |
Lecture 06 | 線上觀看 | MP4下載 | |
Lecture 07 | 線上觀看 | MP4下載 | |
Lecture 08 | 線上觀看 | MP4下載 | |
Lecture 09 | 線上觀看 | MP4下載 | |
Lecture10 | 線上觀看 | MP4下載 | |
Lecture 11 | 線上觀看 | MP4下載 |
課程目標
了解物件導向程式設計(OOP)觀念
應用C/C++語言解決各類工程問題
學習標準模版函式庫(STL)的使用
熟悉工作站系統(Linux/FreeBSD)基本操作
課程章節
章節 |
From C to C++ |
C++ Functions and Scopes |
Pointers and References |
Classes and Objects |
Data Sharing and Member Functions |
Operator Overloading |
Inheritance |
Polymorphism and Virtual Functions |
Streams and File I/O |
Template and STL |
課程書目
W. Savitch (WS), "Absolute C++," 4th ed., ISBN:0131365843, Addison Wesley, 2010. (指定本)
參考書目
H. Deitel and P. Deitel (DD), "C++ How to Program," 7th ed., ISBN:0-13-611726-0, Pearson/Prentice Hall, 2010.
Goran Svenk(GS), "Object-Oriented Programming Using C++ for Engineering and Technology,," 1st ed., ISBN:0766838943, Delmar Cengage Learning, 2002.
評分標準
項目 | 百分比 |
Exercises in Winter Vacation | 10% |
Take-Home Programming Exercises | 20% |
Weekly Quizzes (best 8 out of 12) | 10% |
Laboratory Exercises | 20% |
Midterm Examination | 20% |
Final Examination | 30% |
本課程行事曆提供課程進度與考試資訊參考。
學期週次 | 上課日期 | 參考課程進度 |
第一週 | 02/20 |
|
第二週 | 02/27 |
|
第三週 | 03/05 |
|
第四週 | 03/12 |
|
第五週 | 03/19 |
|
第六週 | 03/26 |
|
第七週 | 04/02 |
|
第八週 | 04/09 |
|
第九週 | 04/16 |
|
第十週 | 04/23 |
|
第十一週 | 04/30 |
|
第十二週 | 05/07 |
|
第十三週 | 05/14 |
|
第十四週 | 05/21 |
|
第十五週 | 05/28 |
|
第十六週 | 06/04 |
|
第十七週 | 06/11 |
|
第十八週 | 06/18 |
|
Laboratory Manuals
週次 | 參考授課進度 | 下載連接 |
第一週 02/20 | C/C++ Overview | LAB_01 |
第二週 02/27 | N/A | |
第三週 03/05 | Exercise | LAB_02 |
第四週 03/12 | Pointer and Reference | LAB_03 |
第五週03/19 | Constant Pointer and Class | LAB_04 |
第六週 03/26 | Constructor and Destructor | LAB_05 |
第七週 04/02 | Holiday | 略 |
第八週 04/09 | Advanced Topics of classes | LAB_06 |
第九週 04/16 | Operator Overloading and Function overloading | LAB_07 |
第十週 04/23 | Midterm (Online Test) | 略 |
第十一週 04/30 | Advanced Input and Output | LAB_08 |
第十二週 05/07 | Inheritance (I) | LAB_09 |
第十三週 05/14 | Inheritance (II) | LAB_10 |
第十四週 05/21 | Polymorphism | LAB_11 |
第十五週 05/28 | Template | LAB_12 |
第十六週 06/04 | N/A | 略 |
第十七週 06/11 | STL | LAB_13 |
第十八週 06/18 | Final (Online Test) | 略 |
Lecture Sourse code
週次 | 參考授課進度 | 下載連接 |
Lecture01 | C/C++ Overview and OOP by Example | |
Lecture02 | Pointers and References | |
Lecture03 | Classes (I): Basics | |
Lecture04 | Classes (II): Advanced Topics | Source Code_04 |
Lecture05 | Understanding Friends and Overloading Operators | Source Code_05 |
Lecture06 | Streams and File Input/Output | Source Code_06 |
Lecture07 | Inheritance (I): Basics | Source Code_07 |
Lecture08 | Inheritance (II): Advanced Topics | Source Code_08 |
Lecture09 | Polymorphism: Virtual Functions | Source Code_09 |
Lecture10 | Templates | Source Code_10 |
Lecture11 | Data Structure & Standard Template Library | Source Code_11 |