Senin, 26 Desember 2016

How to use vectors in Standard Template Library in C++ Programming

A vector is like a dynamic array where all the elements are stored contiguously. Elements can be added or removed at run-time as and when needed. Vector provides the following functions for working with the data stored in it: Containers are similar to data structures and are implemented using templates. So, a container can store data of different types. Examples of containers are: Vector, List, Dequeue, Set, MultiSet, Map, MultiMap, Stack, Queue, PriorityQueue etc. The Standard Template Library (STL) is a collection of components to implement data structures and frequently used operations on data. Three major components in STL are:

The post How to use vectors in Standard Template Library in C++ Programming appeared first on Coding Security.


How to use vectors in Standard Template Library in C++ Programming
read more

Tidak ada komentar:

Posting Komentar