mam taki kod
srand ((int) time(NULL));
int nWylosowana1 = rand() % 46 + 1;
srand ((int) time(NULL));
int nWylosowana2 = rand() % 46 + 1;
srand ((int) time(NULL));
int nWylosowana3 = rand() % 46 + 1;
i mam taki problem że losuje mi wszystkie trzy liczby takie same a mi jest potrzebne by każda byla inna :-(
Pomoże ktos ??