I was wondering if my way of removing duplicates is bad in any way.. If there's a better way of doing it please explain thanks! I can also use this for a Word Jumble game so that the same words don't come up again, anyways post away.
Thank you xismn! I never used set before and btw why don't you declare the data type to unsigned short int, wouldn't it make it more clear? Thanks for your knowledge :)
Yes, I know but I still prefer to use int my self but okay. Also the std::set doesn't fully work with what I was trying to do. It seems like it removes the none unique numbers but I want it to roll it 10 times randomly 1-10 and not in order too.