Notifications
Clear all

What are vectors?

1 Posts
2 Users
0 Likes
233 Views
0
Topic starter

What are vectors?

1 Answer
0

The C++ Standard Library vector class is a class template for sequence containers. A vector stores elements of a given type in a linear arrangement, and allows fast random access to any element. A vector is the preferred container for a sequence when random-access performance is at a premium.

Share: