Question: home / study / engineering / computer science / questions and answers / all code with the ***...*** needs to be implemented!! ... Question Edit
home / study / engineering / computer science / questions and answers / all code with the ***...*** needs to be implemented!! ...
Question
Edit question
All code with the ***...*** needs to be implemented!!
Vectors. This lab is to be done using Unix. To familiarize yourself with Unix, read this tutorial.
To prove that you used Unix tools, as part of your first project submission, you need to submit a typescript file with the record of at least one successful compilation of the second project programs below (the execution of the compiler on your source code file).
Create a project titled Lab12_Vectors. Implement the dynamically expanding and contracting container functionality described in previous labs using vectors. In the main() function, you may declare the vector to hold the integers input. Specifically, your program has to support this dialog:
enter operation [a/r/q] and number: a 5 your numbers: 5 enter operation [a/r/q] and number: a 8 your numbers: 5 8 enter operation [a/r/q] and number: a 8 your numbers: 5 8 enter operation [a/r/q] and number: r 8 your numbers: 5 enter operation [a/r/q] and number: a 3 your numbers: 5 3 enter operation [a/r/q] and number: a 12 your numbers: 5 3 12 enter operation [a/r/q] and number: q
Hint: use iterators for number removal. Refer to this code for example usage. ***http://vega.cs.kent.edu/~mikhail/classes/csi/Labs/Lab12/iterators.cpp***
The typescript file should also be submitted.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
