PLEASE HELP WITH C++!!! URGENT!!!
Use visual studio to create a new C++ project. Your required in this task to impalement your own vector class. Your class is named Custom_Vector. The class includes at least following member functions:
A default constructor that initialize your custom vector objects.
A destructor to release the memory to the heap.
push_back(string item) function that appends elements to the end of the vector.
pop() function that removes the last element of your vector and returns it.
disp() function that displays the elements of the vector.
size() function that returns the number of elements in the vector.
at(int index) function that returns the element at the position index (assume that the first
element in your vector at position 1.)
Implement a main function to test your method.
Your class accepts only string values. Therefore, you do not need to use templates.
For example, when I use the following main function:
vector1.push_back(“apples”); vector1.push_back(“bananas”); vector1.push_back(“pineapples”);
cout<<“The vector size = “<<vector1.size()<<endl;
cout<<“Pop => “<<vector1.pop()<<endl;
cout<<“The vector size = “<<vector1.size()<<endl; return 0;