bind2nd « STL Algorithms Helper « C++






1.Demonstrate bind2nd()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