Original Post
I have an array of classes in my game that's giving me serious problems.. In my header file of my main class I declared the attribute..: Thing myThing[10]; Now in the source file of my main class i'm trying to use the new Thing array like this..: Thing tempThing; for(int i=0; i<10; i++) { myThing = NULL; myThing = tempThing; myThing = new Thing(); } Now I need to know why compilation tells me..: "binary '=': no operator defined which takes a right-hand operand of type "class Thing *" (or there is no acceptable conversion) at the line..: myThing = new Thing(); The wierd part is, when I try to do something like this: Thing newThing = new Thing(); I get: 'initializing': cannot convert from 'class Thing *' tp 'class Thing' I'm assuming this problem arises from a lack of proper understanding on using classes in C++ on my part but I would love to kno what I can do to rectify the situation.. Please help.. :(