I am having troubles using the "random" package in C++ to draw random numbers (for Monte Carlo). I get the following error message:
"error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options."
and "error: 'default_random_engine' is not a member of 'std'"
I am having troubles using the "random" package in C++ to draw random numbers (for Monte Carlo). I get the following error message:
"error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options."
and "error: 'default_random_engine' is not a member of 'std'"