Creation and use of vectors in C++ #TC1017 #Mastery23
Vector is a template class that is a perfect replacement for the good old C-style arrays. It allows the same natural syntax that is used with plain arrays but offers a series of services that free the C++ programmer from taking care of the allocated memory and help operating consistently on the contained objects.
The first step using vector is to include the appropriate header:
- #include
- using namespace std;
- //…
- vector
v;
Here is my link
https:/
Is a short video explaining a really easy vector 🙂
Here is other link about vectors :D:
Creation and use of vectors in C++ #TC1017 #Mastery23 by Alejandra Jacobo Gómez is licensed under a Creative Commons Attribution 4.0 International License.