Question: 1 . Write a program that reads in 1 0 lines from a text file and writes it out in reverse order. Use an array

1
.
Write a program that reads in
1
0
lines from a text file and writes it out in reverse order. Use an array of string data types to store the contents of the file
2
.
Build a linked list of strings. Modify the code from ealier to store the strings in a linked list instead of an array
(
until end of file not just first
1
0
lines
)
3
.
Modify your program so it stores the strings in sequential order
4
.
In the string list ask the user which string they want to delete. Remove the corresponding node from the list. Print out the new list with the node removed. Try removing the beginning, middle and end elements.
5
.
Add a recursive function that will print out the sorted strings in reverse order and delete the nodes everything in C++

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!