Lecture 9

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 9

 The purpose of lecture notes is to outline what the instructor intends to teach and give the student any reading assignments and pre lab exercises to do in preparation for lab.  Student should assume that the material covered and assignments given in lecture notes should help to prepare the student for the lab assignment. 

 

Lecture 9

We will complete chapter 4, "Arrays". Spend more time on Character arrays and string. An introduction to pointers.

  

Objectives

To understand how to declare an array, initialize an array and refer to individual elements of an array.

To be able to pass arrays to functions.

To understand basic sorting techniques.

To be able to declare and manipulate multiple-subscript arrays.

An introduction to character arrays and strings.

Declare multi-dimension character array using array notation and pointer notation

To understand how to Search array data.

 

 

 

Course Material

Chapter 4 lecture slides

 

 

Assignments for next week

Read chapter 5 "Pointers and Strings",  p to section 5.7.

Lab assignment 6 that is due next week

 

 

 

 

Copyright (c) Yusuf Family Website 2001