lab1 - 15-121 FALL 2009[CORTINA/REID-MILLER]LAB 1Download...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 15-121 FALL 2009 [CORTINA/REID-MILLER]LAB 1Download and open a copy of the PhoneDirectory project discussed in lecture: PhoneDirectory.zipIn this program, the PhoneDirectoryclass contains an array to hold the directory entries and an integer to indicate how many cells of the array contain directory entries. The directory entries are stored sequentially in the array starting from position 0 with no empty cells. So if there are 6 entries in the array, they are stored in position 0 through 5. Read through this class to understand how it works.To run the program, execute the PDApplication class. You will need to use command line arguments. In Eclipse, click on that class in the Package Explorer and then choose Run > Open Run Dialog. Select the first icon (New launch configuration), and in the Arguments tab, enter phonedata.txt Gfor the graphic version or phonedata.txt Cfor the console version....
View Full Document

{[ snackBarMessage ]}

Page1 / 2

lab1 - 15-121 FALL 2009[CORTINA/REID-MILLER]LAB 1Download...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online