vector-like
This project implements a vector-like dynamic array class in C++.
The class manages dynamically allocated memory and supports:
- adding and removing elements,
- automatic resizing,
- copying,
- assignment,
- element access,
- combining two arrays.
It also includes a custom output operator and methods for managing
the array size and number of stored elements.
The project focuses on practicing object-oriented programming,
dynamic memory management, constructors, destructor, copy semantics,
operator overloading, and working with class objects.
try it on PC
The interactive compiler is available on the desktop version of this page. On a PC, you can run the program and test it directly in the console.
