diff options
| author | Bertrand <bertrand.horel@gmail.com> | 2016-01-31 22:12:10 +0000 |
|---|---|---|
| committer | Bertrand <bertrand.horel@gmail.com> | 2016-01-31 22:12:10 +0000 |
| commit | cc74c6a2039b76c7797a78fdeb5d5cd7654b4507 (patch) | |
| tree | 1a486569803d477d22388742a6852b3e341c7114 | |
| parent | fd4237e52d643063f183564a9f5b0c6bdf0bc95a (diff) | |
| download | projet_C++-cc74c6a2039b76c7797a78fdeb5d5cd7654b4507.tar.gz | |
réparation des includes
| -rw-r--r-- | var_alea.hpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/var_alea.hpp b/var_alea.hpp index de37c1d..2d1e8a6 100644 --- a/var_alea.hpp +++ b/var_alea.hpp @@ -1,7 +1,11 @@ #ifndef VAR_ALEA_HPP #define VAR_ALEA_HPP #include <cmath> -#include "mt19937.h" +extern "C" { + #include "mt19937.h" +} +#include <ctime> + void init_alea(unsigned seed = static_cast<unsigned>(std::time(0))) { init_genrand(seed); |
