generate « STL Algorithms Modifying sequence operations « C++






1.Provide predicate for std::generate
2.Illustrating the generic generate algorithm: Fill vector1 with 1, 4, 9, 16, ..., 100
3.Use std::generate to fill elements in a vector
4.Int sequence
5.Use generate to insert five random numbers into a list
6.Generate a sequence.