Question: PROGRAM SPECIFICATIONS Write a program that enhances the linked list program to use a doubly linked list. You will use the data file that I
PROGRAM SPECIFICATIONS
Write a program that enhances the linked list program to use a doubly linked list.
You will use the data file that I have provided StudentFiletxt for the initial build of the linked list. You do not need to write new adds or changes back to this text file.
PROGRAM REQUIREMENTS
Node.h
Update the header file for the Node structure so that it contains a pointer to the previous node Node
PROGRAM REQUIREMENTS: Student.h
Create a header file for the Student structure that includes the following:required overloaded operatorsthe output can be formatted in whatever style you want, of course.But only display a few of the data fields and keep the data all on one line for this program.bool Student :: operator int value constbool Student :: operator const Student & rhs const return thisid rhsid; Complete similar line functions for each of thereturn thisid value; etc etc etcHendif
COSC DATA STRUCTURES I
Page
PROGRAM REQUIREMENTS:
StudentList.cpp
Write a main program that uses the doubly linked list class. The program will maintain a list of student records.
Your program should build the linked list by inserting each student from the studentFile.txt and then display a menu. The user should have options to insert add a student into the list, search for a student in the list, remove a student from the list, count the number of students in the list, and display the list in forward or reverse order. The text file is ONLY used for the initial build you do NOT need to write adds or changes back to the file.
Whenever a student is added, removed or searched for and found the student object information should be displayed by the application program.
StudentLlst.cpp Application client Program
#include &&&&&&
COSC DATA STRUCTURES I
Page
COSC DATA STRUCTURES I
Page qquadcase Q : quad valid true; break; if necessary, review "switch" statements from programming to understand the above code. Only "break;" statements are used one at the end of the Q case and one after "default" This permits all valid inputs to drop down to the last valid input Q and use the code after Q Test your code to ensure correctness!
COSC DATA STRUCTURES I
Page
FILE NAMING REQUIREMENTS
node.h
DLList.
student.h
studentList.cpp
studentFile.txt
contains the updated node structure
contains the Doubly Linked List class DLLIST including the class definitions and member function implementations
contains the student struct definitions and overloaded operators.
The application program contains main
Download the text file of student records provided by instructor
Use the provided file of students to input the student data.
Follow all style requirements from the handout.
Submit the following :
node.h
DLList.h;
student.h
studentList.cpp with the following output
output: Test your program thoroughly, but only submit output for the original students from the displayReverse function
see the single spaced and nicely formatted output belowgetNumValues isEmpty, isFull
REVERSE STUDENT LIST
ID
NAME
MAJOR
GPA
Freud, JR Fred E
Xerxes, Art I
PSYC
Aristotle, Alice A
GREE
PHIL
Lewis, Clark N
GEOG
Mendelssohn, Mozart W
MUSC
Angelo, Mike L
ART
Elba, Able M
SPEE
Dewey, Johanna A
EDUC
Newmann, Alfred E
EDUC
Yewliss, Cal C
MATH
Cicero, Marsha
LATI
Fahrenheit, Felicia O
CHEM
Custer, General G
HIST
Santamaria, Nina
HIST
Match
This
Output
Format
Exactly!
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
