I am having trouble with a program that uses an already


I am having trouble with a program that uses an already designed priority queue list, plus an stack and a queue. I have the queue part working. Now we have had to go back and implement the queue.h file into a template. I got it to work when using it with just one .cpp program and no other classes and header files, however, I now have to implement my myqueue.h and stack.h file using the template queue.h and not sure how to do that. Also, when doing the matching brackets part of the .cpp (which uses my stack.h) I can't get it to work right. It is supposed to determine if the beginning and end brackets are matching open and closing brackets. For example, if the first bracket is ( and the last bracket is ), that is considered matching. I have the palindrome part of the program running.

Attachment:- QStr.zip

Solution Preview :

Prepared by a verified Expert
C/C++ Programming: I am having trouble with a program that uses an already
Reference No:- TGS01246001

Now Priced at $20 (50% Discount)

Recommended (99%)

Rated (4.3/5)