Lecture 13

Home Up

 

Lecture 1 ] Lecture 2 ] Lecture 3 ] Lecture 4 ] Lecture 5 ] Lecture 6 ] Lecture 7 ] Lecture 8 ] Lecture 9 ] Lecture 10 ] Lecture 11 ] Lecture 12 ] [ Lecture 13 ] Lecture 14 ] Lecture 15 ] Lecture 16 ]

CP 107 Lecture 13

 

Introduction to Classes and Data Abstraction

 

 

Lecture 13

We will cover chapter 6 "Introduction to Classes and Data Abstraction".

 

 

Objectives

 To understand the software engineering concepts of encapsulation and data hiding.

 To understand the notions of data abstraction and abstract data types (ADTs).

 To be able to create C++ ADTs, namely classes.

 To understand how to create, use and destroy class objects.

 To be able to control access to object data members and member functions.

 

 

Course Material

Chapter 6 lecture slides (REQUIRED)

 

Additional Material from Chapter 7

This is optional. If you wish to study objects in more details, the slides are attached. Topics are Friend functions, Copy Constructor, Bitwise copy of an object, Inline functions, constant data members, constant functions, constant objects and member initialization.

slide for lecture 13 (OPTIONAL)

 

 

Assignments for next week

Reading assignment:  Bitwise operator (unless we covered it already), Preprocessor, IO Stream (topics from Chapter 12, 18)

Pass out  Lab assignment 10 is due next week

 

 

Copyright (c) Yusuf Family Website 2001