Question: I need this code Output in C++ with ListQueue Structure if possible, Just the output. 10. File Filter Write a program that opens a text

I need this code Output in C++ with ListQueue Structure if possible, Just the output.

10. File Filter Write a program that opens a text file and reads its contents into a queue of characters. The program should then dequeue each character, convert it to uppercase, and store it in a second file.

I need this code Output in C++ with ListQueue Structure if possible,

Just the output. 10. File Filter Write a program that opens a

text file and reads its contents into a queue of characters. The

// Header file section #include "st dafx.h" #include #include using namespace std; class Queue private: char *queue Array; int queue Size; int front; int rear; int numItems; public: // Constructor Queue (int); // Points to the queue array // The queue size // Subscript of the queue front // Subscript of the queue rear // Number of items in the queue 11 Copy constructor Queue (const Queue &); // Destructor Queue (); // Queue operations void enqueue (char); void dequeue (char &); bool isEmpty() const; bool isFull) const; void clear(); ******************* *AAAARRRRRRRRAAAAAARRRRRRR // This constructor creates an empty queue of a specified * size. * Queue:: Queue (int s) queueArray = new char(s) : queuesize = s; front = -1; rear = -1; numItems = 0; **** // Copy constructor *** Queue: : Queue (const Queue kobj) // Allocate the queue array. queueArray = new char(obj.queuesize]; // Copy the other object's attributes. queuesize = obj.que uesize; front = obj. front; rear = obj. rear; numItems = obj.numItems; // Copy the other object's queue array. for (int count = 0; count > fileName : // Open the file. file 1. open(fileName, ios::in); if (!file1) cout >fileName; // Open the file. file2.open(FileName, ios:: out); if (!file2) cout

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!