Name: Anonymous 2009-12-31 7:52
How can I have a pointer in one class to an object(of another class) which may or may not be there? I need to access the object's variables.
e.g. if you're making a game and want to have pointers to every object on the screen. There may be 4 but also 0.
e.g. if you're making a game and want to have pointers to every object on the screen. There may be 4 but also 0.