I made a simple program that allows the user to pick a number of dice then guess the outcome... I posted this code before but with the wrong question so it was deleted... no
This line involves an implicit cast from time_t which time returns to unsigned int which srand takes:
srand ( time(NULL) );
You can make it an explicit cast instead:
srand ( static_cast(time(NULL)) );