vector subscript indexer « Vector « C++






1.Use indexer to add elements to a vector
2.Use indexer to reference elements in a vector
3.Loop thourgh all elements in a vector using <
4.Loop through all elements in a vector using operator [] instead of operator *
5.Create another vector that contains a subrange of vector.
6.Raise all values in a vector by a given percentage
7.Read double from keyboard, save it to a vector and find the max value