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
Menu
Vector Utility « Data Structure « C++
C++
Data Structure
Vector Utility
1.
Demonstrate inner_product() in vector
2.
Demonstrate partial_sum() in vector
3.
set_union, set_difference, set_symmetric_difference, set_intersection
4.
Use a unary function object to determine even/odd.
5.
Demonstrate count_if and not1 in vector
6.
Another way to sort a sequence into descending order.
7.
Use a function adaptor in vector
8.
Demonstrate insert_iterator in a vector
9.
Insert one vector into another using an insert iterator
10.
Demonstrate back_insert_iterator in vector
11.
Demonstrate front_insert_iterator in vector
12.
Find minimum and maximum inside a vector
13.
Use for_each() in vector
14.
Use the logical_not unary function object in vector
15.
Sorting a vector into descending order in vector
16.
Using copy() in Vector
17.
Using swap_ranges() in Vector
18.
Exchange elements from two different types of containers.
19.
Demonstrate find() and find_if() in vector
20.
Demonstrate search() in vector
21.
Demonstrate mismatch() in vector
22.
Demonstrating sort() in vector
23.
Demonstrating partial_sort() in vector
24.
Demonstrate binary_search() in vector
25.
Demonstrate lower_bound() in vector
26.
Demonstrating remove() and replace() in vector
27.
Demonstrating unique() in vector
28.
Transforming a sequence in vector
29.
Generating a sequence in vector
30.
Rotate a sequence in vector
31.
Right-rotate a sequence in vector
32.
Demonstrate random_shuffle() in vector
33.
Merge two sequences
34.
A vector may allocate more memory than it currently needs.