Create C++ guessing game

I had to get creative in order to get a good random number generating . In this game it is on a time clock using  <time.h> header , another way to do this is srand(static_cast<unsigned int>(time(0))) which is a seed random number generator . And then you would need to use rand() with a variable   count = rand() % 6 +1      gives a random number from 1..6    good luck !