In C++, you should use `<cstdlib>` instead of the C header `<stdlib.h>`. I assume you use it for `std::rand`?