? Internally use a “vector” from the STL to store the data.
? Write a method that will add data to the vector.
? Write a method that will display the in the array (use an iterator to access each element)
? Call rand() to get a number between 25 and 75
? Add that many numbers to the BubbleStorage class
? Print out the array that is stored by overloading the "<<" operator for your class. (Your code should be Example: cout << bublesort << endl;)
? Print out the array both max sorted and min sorted.
Note: How much easier it is to use a Vector. Notice that you did not need to know the size of the array before using or declaring it.
|$15.00||no category||sarmad_junaid||0 time(s)|
|$10.00||no category||lightsource||2 time(s)|
|$10.00||no category||sarmad_junaid||1 time(s)|