so my problem is that if i save these cards inside 4 different string vectors and each vector will take 7 cards.sometimes i get repeated cards. But i dont want it repeated.How can i do that? please help. plus give me the code because i am new to coding.
I think the best way to do this is by shuffling your cards - which is what happens in real life.
By shuffling, you're guaranteed unique cards with no duplicates, since all that's changing is their position. You're then free to draw as many cards as you please.