Note: To run these examples, you can use gnu C++ (on Unix/Linux) or Microsoft Visual C++ Express. Here is a tutorial of using Microsoft Visual C++ Express.
1. C++
Stream Input/Output Example
2. Call
by Reference Example
3. Default
Argument Example
4. Function
Overloading Example
5. Implement
a User-Defined Type Time with struct
6.
Implement the Type Time with class
7. Inheritance
Example
8. Virtual
Function (Dynamic Binding) Example
9. Virtual
Function Example 2
10. Virtual
Function Example 3 (Pure Virtual Function)
* Note: all these source codes can
only be used by ECE 321 students for the education purpose.