You need to include a print function. You may also refer to the linked list lecture for functions you must implement. You may also consider having the Head structure that will store the metadata of the list. struct Head { int count; Student *first; Student *last; }; Note: You are not allowed to used vector or any related function/datatype in creating the list Write a program that will create a linked list of Student information that can be added in an ordered manner. Use the structure declaration below for the student information. The program must be implemented using. • Singly Linked List ⚫ Doubly Liked List struct Student // Singly Linked List { string studnum; string fname; string sname; Student *link; }; struct Student // Doubly Linked List { string studnum; string fname; string name; Student *next; Student *prev; }
You need to include a print function. You may also refer to the linked list lecture for functions you must implement. You may also consider having the Head structure that will store the metadata of the list. struct Head { int count; Student *first; Student *last; }; Note: You are not allowed to used vector or any related function/datatype in creating the list Write a program that will create a linked list of Student information that can be added in an ordered manner. Use the structure declaration below for the student information. The program must be implemented using. • Singly Linked List ⚫ Doubly Liked List struct Student // Singly Linked List { string studnum; string fname; string sname; Student *link; }; struct Student // Doubly Linked List { string studnum; string fname; string name; Student *next; Student *prev; }
Related questions
Question
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps