stl:algorithm:random_sample_n

C++ Reference

random_sample_n

This function was part of the original SGI STL library, but never has been a part of ISO C++.