lundi 3 août 2015

Alternative to std::default_random_engine for Xcode?

I'm trying to compile a program I wrote in linux on Xcode and for my random functions I used:

std::random_device seed_device;
std::default_random_engine engine(seed_device());

But default_random_engine won't compile on Xcode. Is there a different version I should use?




Aucun commentaire:

Enregistrer un commentaire