How do I make a Instance of a class in a seperate class if it needs to be prototypedIt looks like what I wanted to do.. but I don't understand ": size(sz) {}" can I get an explanation?
How do I make a Instance of a class in a seperate class if it needs to be prototypedWhere at? iv been reading from a book, and it dident shed much light on how to do this XD
How do I make a Instance of a class in a seperate class if it needs to be prototypedthe .h code is now: [code] class Part{ private public Part(int num); }; class PartContainer{ ...
How do I make a Instance of a class in a seperate class if it needs to be prototypedI know, but when I try to initialize parta, it thinks im declaring it, and errors me that class Part...
How do I make a Instance of a class in a seperate class if it needs to be prototypedmaybe I'm not understanding what you meant by "PartContainer() : parta(45) {}" , I use a little bi...
This user does not accept Private Messages