12345678910111213141516
#include <iostream> #include <cstdlib> #include <ctime> int main() { std::srand( time(0) ); std::cout << "Randoming...\n"; for( std::size_t i = 0; i < 100; ++i ) { std::cout << rand() << '\n'; } std::cout << std::endl; }