Skip to content

The "S21-Containers" project is a collection of container implementations similar to the containers in the C++ Standard Library.

License

Notifications You must be signed in to change notification settings

zenorachi/s21-containers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

S21-Containers

The "S21-Containers" project is a collection of container implementations similar to the containers in the C++ Standard Library. These containers provide convenient data structures for storing and managing collections of elements.

Features

  • The project includes the following containers:

  • The containers offer an interface similar to the C++ Standard Library, making it easy to adapt and understand the code.

Installation and Usage

  1. Clone the repository:
git clone https://github.com/zenorachi/s21-containers.git
  1. Navigate to s21-containers:
cd s21-containers:
  1. Use the .h files to include the containers in your code.

Example Usage

#include "s21_containers.h"

int main() {
 s21::vector<int> myVector;
 
 myVector.push_back(10);
 myVector.push_back(20);
 myVector.push_back(30);
 
 std::cout << myVector[0] << " ";
 
 return 0;
}

About

The "S21-Containers" project is a collection of container implementations similar to the containers in the C++ Standard Library.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published