Question
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
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started