I'm making the "guess my number" game most of you have probably seen before. I am trying to get the computer to remember all previous guesses its already tried so it doesn't repeat any.
You could use a vector of integers, then push back every cpu guess, then compare the next guess to the previous ones, if the is a match, randomize again.