C++ STL Algorithm generate_n

C++ examples for STL Algorithm:generate_n