struct
die1 = rand_r(&seed1) % die1Sides + 1;
struct DieT { int sides{6}; unsigned int seed{1}; int value; };
die1.seed = static_cast(rand());