How to use #include <random> with g ++ on Mac?
I am trying to compile a C ++ program that I received from someone else. It was developed on windows and g ++ gives some compilation errors. One of them with
#include <random> Which gives the following error: CandidateSolution.cpp:2:18: error: random: No such file or directory . I tried to find where I can get the error.h file, but I can not find it. How can I make this work?
+4