Table of Contents
CSC 171 – SPRING 1999
OVERVIEW OF LECTURE 5
Arrays
Simple (1D) arrayint C[] = {-45, 6, 0, 72, 1543 };
Getting Arrays - simple
Getting Arrays – 2D
Passing Arguments
Passing Arrays to Methods
Passing Arrays to Methods
Passing 2D Arrays to Methods
Searching Arrays
Sorting Arrays
Swap max “^” with first “|”
Selection Sort
|
Author: Thaddeus F. Pawlicki
|