課程名稱 |
C++程式設計(資) |
面授地點
|
L113 |
面授時間 |
Thursday - 星期四 8:30 - 11:20 |
課程目標 |
This course introduces students to programming with C++. Students will learn basic concepts of object-oriented programming, components and structures of C++ programs, define variables and classes, and use object features such as overloading, inheritance, polymorphism, stream input/output, and templates.
本課程向學生介紹C++程式設計, 學生會學習物件導向程式的基本觀念, C++程式的元件及 結構, 定義變數及類別, 使用如運算子多載、繼承、及多型等物件特性, 及串流的輸入/輸出及樣板。 |
課程綱要 |
網址:http://iclab.csie.chu.edu.tw/course/c++-programming/
1. C Structures, Unions, Bit Manipulations and Enumerations - 結構、位元運算、列舉
2. C File Processing - C檔案處理
3. C Formatted Input/Output - C 格式化輸入/輸出
4. C Pointers - C 指標 (pointer.c, pointer-array.c)
5. C Data Structures - C的資料結構
6. C++ as a Better C - Introducing Object Technology - 從C到C++語言
7. Introduction to Classes and Objects - 簡介類別與物件
8. Classes: A Deeper Look, Part I - 類別: 更深入探究, I - 類別與物件
9. Classes: A Deeper Look, Part II - 類別: 更深入探究, II - 常數、 靜態成員與朋友關係
10. Operator Overloading - 運算子的多載
11. Object-Oriented Programming: Inheritance - 物件導向程式: 繼承
12. Object-Oriented Programming: Polymorphism - 物件導向程式: 多型
13. Templates - 樣板
14. Stream Input/Output - 串流的輸入/輸出
15. Exception Handling - 例外處理 |
評量標準 |
In-class Exercise and Quizzes - 隨堂練習與測驗 15%
Homework and Programming Assignments - 課後及程式作業 30%
Participation - 參與/出席 5%
Midterm Exam I - 期中考 I 15%
Midterm Exam II - 期中考 II 15%
Final Exam - 期末考 20% |
參考書籍 |
Paul Deitel & Harvey Deitel, C How to Program, 7 Ed.
Prentice Hall, 2012
Reference Book - 參考書
蔡明志, C++ Primer Plus 5/e中文精華版, 碁峰, 2005 |
修課條件 |
下定決心,學好C++程式設計。 |
附件 |
|