Question: Please help me with the C++ code for this problem! C++ STL Vectors and List Create a class called Stouks and provide the following members:

Please help me with the C++ code for this problem!

Please help me with the C++ code for this problem! C++ STL

C++ STL Vectors and List Create a class called Stouks and provide the following members: - Company Name - Ticker Symbol - Share price - 3 argument constructor with default values - display-0 shows the labeled data of the object in a professional format In main create a std::list of Stonlrs. Create 5 Stonk objects using the constructor and provide different information for each one. Add these to the list Create a std::vector of 5 Stonk pointers. Set these pointers to each of the objects in the list Using a for loop and a list::iterator, display all of the Stouks in the list Utilize random access {brackets with index) to change the name of the 2.1m Stonk {index 3). Display the Stonk objects from last to rst using the vector in a for loop. Clear both containers. Follow the instructions carefully. Changing the name will require a knowledge of pointers, iterators and the order of operations. 1f the program does not follow the assignment specications it will receive a failing grade regardless of the output. Turn in your work as before

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 Programming Questions!