Home
C++
Bitset
Class
Console
Data Structure
Data Type
Deque
Development
File
Function
Generic
Language
List
Map Multimap
Overload
Pointer
Qt
Queue Stack
Set Multiset
STL Algorithms Binary search
STL Algorithms Heap
STL Algorithms Helper
STL Algorithms Iterator
STL Algorithms Merge
STL Algorithms Min Max
STL Algorithms Modifying sequence operations
STL Algorithms Non modifying sequence operations
STL Algorithms Sorting
STL Basics
String
Valarray
Vector
vector indexer « Vector « C++
C++
Vector
vector indexer
1.
Use indexer to update element in the vector
2.
Use toupper function to convert all elements in a char vector to upper case
3.
make the index of the maximum
4.
Fill in vector with array by using pointer and offset