The problem I am having is figuring out to create my queue while using my list header file. That is the minor problem, compared to my bafflement on how to get my input into the queue. I have a text file with expressions in infix order. I need to get these expressions into my queue. I am obviously new to data structures and have been trying to figure this out. I think why I'm having such a hard time is that my instructor gave me the specific method enQueue(const Object &).
I will include my attempts.....and the header and data file.
Edit: Changed my header methods posted below-
I now have my current main code posted.
using namespace std;
List<string> listStack; //initializing empty stack
List<string> listQueue1; //initializing empty Queue1
List<string> listQueue2; //initializing empty Queue1