+ 4
What is vector in c++ Why it is used for?
4 Réponses
+ 7
Vectors are dynamically allocated arrays. They are more comfortable, than arrays beacuse you can insert values in chosen place (not overwrite value), and remove whole vector from memory.
+ 6
vectors are sequence containers representing arrays that can change in size
for more information
you can look this lesson
https://www.sololearn.com/learn/261/?ref=app
+ 3
Vector in C++ STL. Vectors are same as dynamic arrays with the ability to resize itself automatically when an element is inserted or deleted, with their storage being handled automatically by the container. Vector elements are placed in contiguous storage so that they can be accessed and traversed using iterators
ectors in C++ C++ has a vector class within the std namespace. A vector is similar to an array, in a sense where a series of elements are stored with the same variable name. Unlike arrays, vectors are dynamically sized, which is a major advantage.
https://www.geeksforgeeks.org/vector-in-cpp-stl/
http://www.cplusplus.com/reference/vector/vector/
+ 3
Thank U So Much Brother And Thanks Again For your Kind Answer