Question: Create a C + + application that uses doubly linked lists that: - Opens the input file called log.txt reads it and stores the
Create a C application that uses doubly linked lists that:
Opens the input file called "log.txt reads it and stores the data in a doubly linked list created dynamically
Sorts the information by IP to perform searches BE CAREFUL with two and three digit numbers, numeric order not alphabetical If there are two or more accesses from the same IP address, the second sorting criterion is the date and time of access. In case there is another tie, the third criterion is the error message
Asks the user for the start and end IPs of the information search. the input is like a string, first one, and then another
Displays the records corresponding to those IPs, in the standard output, in descending order, by IP second criterion is the date and time, first those of Dec, Nov, Oct, Sept
Store the result of sorting in ascending order by IP in a file called SortedData.txt second criterion is the date June, July, August, Sept, Oct, same sorting criteria.
Example of input:
To obtain of the points for this activity, it is divided into:
Correctly fulfills the functionality required by the activity.
Reading data from the corresponding file.
Correctly performs the information search.
Displays the data in descending order by IP
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
