make a C++ code that has three different data structuresa queue, a stack, and a linked list.
Question:
make a C++ code that has three different data structuresa queue, a stack, and a linked list. What I want is can you please create one main.cpp file that can first implement queue, then stack and then linked list. The numbers need to be read from the .txt file and the file name has to be entered by the user and shouln't be hard coded in the code. Please use C++ STL classes in the code and the format of the .txt file is:
62 15 51 -5 5 31 20 -9
So can you please make a C++ code that first read the file name from user input and using C++ STL classes the code first print out queue, stack, and a linked list. The output message should be like:
QUEUE: 62 15 51 -5 5 31 20 -9
STACK: -9 20 31 5 -5 51 15 62
LINKED LIST: -9 -5 5 15 20 31 51 62
Also the OS needs to be in Linux. So can you please return it to me one .cpp file that does the following requirments. Thanks
Income Tax Fundamentals 2013
ISBN: 9781285586618
31st Edition
Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill