Question: Q. Write a C++ program to read a text file and reverse it wordwise using linked list. You are not allowed to use any datatype

Q. Write a C++ program to read a text file and reverse it wordwise using linked list. You are not allowed to use any datatype or class for a string(i.e char[]array,string class, char* etc). Output should be sent to output.txt file. program should display no of lines in the file and number of bytes used by the program as well.

for example if the text says "I am going to school"

the program should create output as

school to going am I .

Note: can't use arrays or linked list templete in STL library.

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!