Certificate Course
in
Object-Oriented Programming in C++
The course can also be done in self-study.
C++ has become the most widely used programming language in Scientific Computing.
This is partly because of its powerful support for object-oriented programming
and partly because of its compatibility with C. This introductory
course gives a thorough step-by-step introduction to object-oriented
programming using C++.
The textbooks used for the course are:
1) Computer Algebra with SymbolicC++
by
Yorick Hardy, Tan Kiat Shi and Willi-Hans Steeb
World Scientific, Singapore, 2008, ISBN 978-981-283-360-0
2) C++ Programming with Applications in Administrations, Finance and Statistics
by
Willi-Hans Steeb and Fritz Solms
World Scientific Publishing, Singapore, 2000, ISBN 981-02-4066-X
Course Content
- Introduction to non-object-oriented C++
- Basic data types, cout, cin, printf, scanf
- Arithmetic operators
- Pointers and addresses
- Arrays of characters, strings
- References
- Arrays
- The sizeof, new, delete, malloc and free operators
- Functions, pass by reference versus pass by value.
- The swap function: a common pitfall
- Arrays of pointers to string
- Loops: for loop, while loop, do while loop
- If condition, if-else
- Switch and decision tree
- Logical operators, logical AND, logical OR, logical NOT
- Shift operators
- Bitwise operators
- Recursion
- Interfacing with Assembly Language
- Random numbers
- Introduction to Object-Oriented Programming in C++
- Classes and objects
- Data members
- Private versus public scope
- Constructors
- Member functions (methods)
- Class operators.
- Type casting and type conversion.
- Stream access (C++ style and C style)
- Template classes with dynamic memory: vectors and matrices
- What does the compiler write for you?
- Constructors for classes using dynamic memory
- Destructors
- The assignment operator
- Inheritance and Polymorphism.
- Simple inheritance
- When to use inheritance
- Public, private and protected scope
- Virtual member functions and polymorphism.
- Multiple inheritance
- Exception Handling
- Standard Template Library
Quickies
Exercises
Timetable and Enrollment
Forms
For further information contact
- Prof. Willi-Hans Steeb