i am making a card game with C++. have an array: cards[52].
i need it to go through and assign a number of 1 to 52 to cards[1] to cards[52]. I need each number to be used only once. So it simulates a shuffled deck of cards without jokers. Ex:
cards[1] = 25
cards[2] = 13
cards[3] = 17
cards[4] = 40
...
each one needs a different number 1 to 52.