Course Data Structures Essentials
MyVector
In this course, we learned about the most important data structures. We learned what they are and how to use them.
To end our course, I would like to show you how some of these structures are implemented internally using dynamic allocation and classes. The first concept we learned on our Introduction to Programming course, while the second one we learned on the Object Oriented Programming course.
I will not explain the code step-by-step since our goal here is to have a general idea of how these structures are implemented. This lesson will be entirely in C++, and we will implement the dynamic vector structure.
Let's start our program by creating an empty main class so we can compile our code.
#include <iostream>
using namespace std;
int main()
{
return 0;
}