進階物件導向程式設計
Advanced Object-Oriented Programming
| 節 | 週三 | 週五 |
|---|---|---|
3 10:10–11:00 | 進階物件導向程式設計 EE105(光復) 2 節連堂 | |
4 11:10–12:00 | ||
7 15:30–16:20 | 進階物件導向程式設計 EE105(光復) |
* 根據陽明交大上課時間表所列
進階物件導向程式設計是步入軟體程式設計的第三門課。希望由此課程,學生能設計出符合現代軟體發展需求軟體程式。使學生由傳統的函數導向的觀念中,擴大延伸成物件導向分析的模式。讓學生具有發展較大、較複雜的系統的能力。本課程除了以電機相關的題目當例子、主要也拿iostream.h中的I/O classes如class ios, istream, ostream,...為例子作語法的分析與探討.
計算機概論與程式設計 物件導向程式設計 開學第一星期, 所有修課同學都需要作最基本的程式檢定 以避免無法達到學習效果. 主要考最基本的程式設計 Loop, Array, Function, Class
無備註
a.使用學校e3網站。 b.自製講義或者補充重要程式,
1.學期作業: 有 7個作業 加上期末專題製作 2.評量方法: 4次筆試: 55% 專題製作: 25% 作業+Lab: 20%
Basic Concepts on Object-Oriented Analysis and Design
1.Object-Oriented and procedural Programming 2. Classes and Abstract Data Types 3. Information Hiding 4. Encapsulation
- 講授:
- 3
Moving from C to C++
1. C++I/O Methods 2. The class ios 3. C++ I/O State Handling 4. Enum I/O status bits 5. C++ Output Formating 6. Namespaces
- 講授:
- 6
C++ Function Enhancement
1.C++ Prototyping 2.Inline Function 3.Default Arguments 4.Function Overloading in class istream, ostream of operator>>and operator<< function 5.Function Template
- 講授:
- 3
Classes and Objects
1.Class Member 2. Accessing data members 3. Member Functions 4. Default Constructor 5. Constructor with parameters 6. Destructor
- 講授:
- 3
Pointers, References And Dynamic Memory Allocation
1.C++ Pointer 2.References 3.Uisng references and Pointers with Const 4. Passing references to Function 5.Returning references from Function 6.Function Chaining 7.Dynamic Arrays 8.Allocating objects dynamically
- 講授:
- 5
Classes: Advanced Topics
1.Copy Constructor 2.Convert Constructor 3.Convert Objects into Primitive Type 3.Static Members 4.The This Pointer 5.The Technique Combined the This Pointer and Return reference from the function member
- 講授:
- 5
Operator Overloading
1. Fundamentals of Operator Overloading 2.Operators Functions 3.Overloading Binary Operators 4.Overloading Unary Operators 5.Overlaoding the I/O Stream Operators
- 講授:
- 3
Inheritance
1.Basic Concept and Syntax 2.Protected Members 3.Constructors Under Inheritance 4.Destructors Under Inheritance 5.Multiple Inheritance 6.Virtual Base Classes 7.Dominating and Overriding Base-class Members 8.TurboC++ I/O File classes Architecture
- 講授:
- 6
Composition
1.Composition versus Inheritance 2.Using Composition 3.Constructing and Destroying Composed Classes 4.Combining Composition and Inheritanc
- 講授:
- 3
Polymorphism and Virtual Functions
1.Dynamic versus Static Binding 2.Requirements for C++ Polymorphism 3.Virtual Functions 4.Abstract Base Classes 5.Virtual Destructors 6.Run Time Type Identification(RTTI) 7.The Rules for dynamic-casts
- 講授:
- 6
Templates
1.Template Basics 2.Template Classes in a parameter list 3.Function-style Parameters 4.The Standard Template Library 5.Containers and Iterators
- 講授:
- 5
Exception Handling
1.Fundamentals of Exception Handling 2.Using Try-Throw-Catch 3.Handling Memory Allocation Errors 4.Exceptions and Classes
- 講授:
- 3
File I/O
1.Steps in File I/O Processing 2.Sequential Files 3.Random Access File 4.C++ I/O class Architecture
- 講授:
- 3
教師未提供此項資料
Lectures
- 地點
- 工五館762室
- 時間
- 1.每星期兩小時。 2.另外主要使用e-mail討論問題。
- 聯絡方式
- Tel:54367 e-mail:cytsai@mail.nctu.edu. tw
