use std::rand()

and pray it doesn't alter the seed.