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
bind2nd « STL Algorithms Helper « C++
C++
STL Algorithms Helper
bind2nd
1.
Demonstrate bind2nd()
2.
Use the generic count algorithm with predicate: Determine the number of array elements that are not equal to 1
3.
transform, bind2nd and modulus
4.
transform, bind2nd and plus
5.
multiply by 100 to get a percent
6.
Count vowels in a sentence