Search Results
Searching for: Arrays in C++
Array
Language: C++
Arrays are used to assign a series of elements of the same type in consecutive memory locations; to define a list of elements. They work similar to variables, except they contain multiple values at different indices.
Vectors
Language: 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.