Lecture 12

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 12

 

 

Lecture 12

We will continue with chapter 5 "Pointers and Strings". This lecture will focus on pointers to characters and strings, pointers to functions and array of pointers to functions.

 

 

Objectives

To be able to declare and use pointers.

To be able to use pointers to pass arguments to functions by call-by-reference.

To be able to use reference operator to pass arguments to functions by call-by-reference.

To understand the close relationships among pointers, arrays and strings.

To understand the use of pointers to functions.

To be able to declare and use arrays of strings.

To be able to declare and use arrays of pointers to functions.

 

 

 

Course Material

Chapter 5 lecture slides

 

 

Assignments for next week

Read chapter 6 " Introduction to Classes and Data Abstraction" (for next or week after.)

Lab assignment 8 is due next week

 

 

 

 

Copyright (c) Yusuf Family Website 2001