CIS 15BG Assignment 6
If you used a team of two for assignment 5, it would be good if the same team worked together for assignment 6.
Repeat laboratory problem 5, except for the following instructions:
Put the structures in a linked list. The linked list shall be a head pointer, and a Node structure for each CompanyData structure.
Each Node structure shall contain a pointer to one CompanyData structure, and a pointer to the next Node structure.
As soon as you read ONE line of data and put it into
a structure, insert a new Node, with the CompanyData, into
the linked list in the correct position to keep the
linked list always in sorted order, alphabetically by company name.
Do NOT sort the linked list AFTER the CompanyData has been put into the linked list, it should already be sorted by the correct insertions.