design9 - Benjamin Jones 03/04/08 Design Report Laboratory...

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

View Full Document Right Arrow Icon
Benjamin Jones 03/04/08 Design Report Laboratory 9 High Level Design I. Initialize node structure for linked list II. Populate data into the list from file III. Display menu to user 1. If user selects add record a. Add new record to end of list 2. If user selects to display record a. Find record based on user input criteria b. Display record IV. Write updated list to text file Algorithmic Design I.A Create structure for node in linked list I.A.1 Each node has a song title I.A.2 Has an artist I.A.3 Has a date of recording I.A.4 Has a cost I.B Initialize first and last node in linked list II.A Open text file II.B If text file cannot open II.B.1 Warn user II.B.2 Exit program II.C Create new song record (node) II.D Set beginning node equal to current record II.E Set end node to beginning node II.F Update pointer of current record to NULL II.G Initialize node properties II.G.1 Read line and set as song title II.G.2 Read line and set as artist II.G.3 Read line and set as date of record II.G.4 Read line and set as cost of song
Background image of page 1

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

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 04/18/2008 for the course ECEE 120 taught by Professor Carter during the Winter '08 term at University of Cincinnati.

Page1 / 4

design9 - Benjamin Jones 03/04/08 Design Report Laboratory...

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