Hi there,
I have a somewhat strange question about using custom objects. I have an external array to which I'd like to add an object that I'm currently working in (in a member function). I'd like to be able to add 'this' object to said array from within the member function, but I can't find out how (or if its even possible). So, to summarize, I want to hand a whole instance of a class to an external array from within that class's member function. Is this possible? Thanks!
Brian
I have a somewhat strange question about using custom objects. I have an external array to which I'd like to add an object that I'm currently working in (in a member function). I'd like to be able to add 'this' object to said array from within the member function, but I can't find out how (or if its even possible). So, to summarize, I want to hand a whole instance of a class to an external array from within that class's member function. Is this possible? Thanks!
Brian