Hi everyone!
I just want to have random numbers which are unique.
For example I want 5 unique numbers for a lottery game I am trying to make, nothing special just a console game.
I was thinking of using loops and dead long boolean algerbra lines of || (OR) and that sort of thing.
I use srand((unsigned)time(0));
rand() % maxrand; //maxrand declared earlier.
Thanks in advance!