C/C++ Programming Techniques
ET2031/ ET2031E
Lecturer: PhD. DO Thi Ngoc Diep
SCHOOL OF ELECTRICAL AND ELECTRONIC ENGINEERING
HANOI UNIVERSITY OF SCIENCE AND TECHNOLOGY
Chapter 5:
Object-Oriented Programming
3
Content
5.1. Introduction to C++
5.2. Overview of OOP
5.3. Class and Object in C++
Constructors and Destructor
Method and Property Members of Object
Operator overloading
4
5.1. Introduction to C++
5
New features of C++ (compared to C)
A hybrid programming language: functional and object-oriented
programming language
adds object-oriented features: abstraction, encapsulation,
inheritance, polymorphism, etc.
Overloading of functions/operators, functions with default
parameters, inline sub function
Add new import/export classes
Add new dynamic memory allocation and release functions, new
and delete.
Add object, reference type parameters
Generic programming (template)