Pointer problems

Started by
10 comments, last by Zahlman 19 years, 3 months ago
amazingly

that dose me no good. I already have a random array picking algorithum as you can see above my problem now is that i need seprate monsters i COULD just have it so that you never have the same monster twice but id like to avoid that if your post was an attemp to show me a way that i will not get doubles thank you but im still looking for another way

thanks for posting [smile]
____________________________"This just in, 9 out of 10 americans agree that 1 out of 10 americans will disagree with the other 9"- Colin Mochrie
Advertisement
How exactly do you propose to have "separate monsters" if you allow to have "the same monster twice"? Do you want to treat the contents of your array as prototypes, or something? If so, you may want to double-check your copy constructor (and assignment operator, and destructor...)

This topic is closed to new replies.

Advertisement