CIS 261 Data Structures

Sorted List Project

Programming Exercise

Ask the User for a series of names and print the sorted list of names as shown below.

Enter a Name (press Enter to Quit): Public, John Q

Enter a Name (press Enter to Quit): Einstein, Albert

Enter a Name (press Enter to Quit): Anthony, Susan B.

Enter a Name (press Enter to Quit):

Directory
=========
Anthony, Susan B.
Einstein, Albert
Public, John Q
=========

Program Complete

This exercise will work with a SortedList Class (using dynamic memory allocation and linked lists) that you will need to create. 

Grading for this project will be based on the following:

20

Design & Documentation

10

Code for Main Program
40 Code for SortedList (linked list) Classes

30

Does It Work?