https://github.com/kinshuk-code-1729/c-plus-plus-stl
This repository contains various codes which depict the C++ STL Functions which I've made while learning C++ Standard Library from unstop.com
https://github.com/kinshuk-code-1729/c-plus-plus-stl
cppstl stl stl-algorithms
Last synced: 8 months ago
JSON representation
This repository contains various codes which depict the C++ STL Functions which I've made while learning C++ Standard Library from unstop.com
- Host: GitHub
- URL: https://github.com/kinshuk-code-1729/c-plus-plus-stl
- Owner: kinshuk-code-1729
- License: agpl-3.0
- Created: 2022-10-26T16:39:20.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-05-08T18:40:45.000Z (about 2 years ago)
- Last Synced: 2025-03-01T11:45:17.734Z (over 1 year ago)
- Topics: cppstl, stl, stl-algorithms
- Language: C++
- Homepage:
- Size: 30.3 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# C++ Standard Template Library

### *The Standard Template Library (STL) is a set of C++ template classes to provide common programming data structures and functions such as lists, stacks, arrays, etc. It is a library of container classes, algorithms, and iterators. It is a generalized library and so, its components are parameterized. Working knowledge of template classes is a prerequisite for working with STL.*
## STL has 4 components :
- **Algorithms**
- **Containers**
- **Functions**
- **Iterators**
## Multisets
> **A multiset is an STL container that can contain multiple objects which have the same value which is stored in a well-defined manner. The multisets are almost similar to sets, except in sets only unique elements are allowed but in multisets, multiple elements with the same values are also allowed.**

## *How to use multisets in C++ ??*
- **The STL multisets can be used in the program by adding two header files.**
- **The first is a *set* and the other is an *iterator.***
## Unordered Maps
> **Unordered maps are the containers that contain key-value pairs in a randomised manner.Every key present in the unordered map is distinct though their key values can be the same. The unordered map is implemented internally using hashing.**

## *How to use unordered maps in C++ ??*
- **The STL unordered map can be used in the program by adding two header files.**
- **The first is *unordered_map* and the other is an *iterator.***