Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

LANGUAGE C++ Working with linked lists. Write a program that will maintain a list of courses that will support insert update delete and print operations.

LANGUAGE C++ Working with linked lists.

Write a program that will maintain a list of courses that will support insert update delete and print operations. All operations will be done using Linked List Class .

When the program runs for the first time it will check the existence of the text file called courses.txt in the working directory. If it exists program will read courses and creates a linked list containing nodes having course data. Then the program will print the following menu:

Course Management

1. Print Courses

2. Insert New Course

3. Delete Course

4. Update Course

5. Save and Exit

6. Exit

when the fifth item is selected program will dump linked list to a courses.txt (old content will be overwritten)

consider course info consists of following fields:

COURSE INFO

(COURSE NAME SHORT VERSON); (LONG VERSON COURSE NAME); (ATTEND PEOPLE COUNT)

A; AB I; 4.

B; ABC; 3.

C; AC; 5.

D; QW; 4.

E; WE; 3.

F; RE; 1.

G; TH I; 4.

Q; TYEEE; 6.

W; YTEEE; 6.

T; KJEEE; 6.

P; JKEEE; 4.

M; YUEEE; 3.

Z; MNEEE; 3.

NUMBERS FOR LNKEDLST

-3.2314 5.65 17.4 4.6 52.66 5.53312689

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

SQL Antipatterns Avoiding The Pitfalls Of Database Programming

Authors: Bill Karwin

1st Edition

1680508989, 978-1680508987

More Books

Students also viewed these Databases questions

Question

describe the syntax and semantics of LET, LIST, and APPEND

Answered: 1 week ago

Question

1. Are my sources credible?

Answered: 1 week ago

Question

3. Are my sources accurate?

Answered: 1 week ago

Question

1. Is it a topic you are interested in and know something about?

Answered: 1 week ago