An open API service indexing awesome lists of open source software.

https://github.com/IvanDrf/Vector-Int

Realization of a self-expanding array with some std::vector methods
https://github.com/IvanDrf/Vector-Int

cpp cppvector vector

Last synced: over 1 year ago
JSON representation

Realization of a self-expanding array with some std::vector methods

Awesome Lists containing this project

README

          

# Vector-Int ![C++](https://img.shields.io/badge/-С++-090909?style=for-the-badge&logo=C%2b%2b&logoColor=6296CC)
Realization of a self-expanding array with some **std::vector** methods

![c++vector](https://github.com/user-attachments/assets/72586135-6ce4-4e0c-b3c8-acc74467bf46)

# Methods
>• **Clear** - clears the array and makes it empty
>
>• **DeleteAll** - deletes all some numbers
>
>• **DeleteElement** - removes an element from the array with given element number
>
>• **DeleteLeft** - deletes the first occurrence of the element on the left
>
>• **DeleteRight** - deletes the first occurrence of the element on the right
>
>• **Empty** - checks whether the array is empty
>
>• **FindLeft** - finds the first occurrence of an element in the array on the left
>
>• **FindRight** - finds the first occurrence of an element in the array on the right
>
>• **Insert** - inserts a number into some position in the array, or inserts all or part of another array in the array into that place
>
>• **PushBack** - adds an element to the end of the array
>
>• **Size** - returns array size
>
>• **Sort** - sorts the array
>
>• **Sorted** - returns sorted array