MyCustomObject * object=new MyCustomObject();
Assume the object pointer is used by many of my classes, but all of a sudden I want to change the con
The pointer IS the object, so if you do new Object() you create a new one, but the functions with the prevoius pointer will not see it. If you want to change the content, you can do this, because all other objects which know the pointer will reference the values that your object contains. It's a bit similar to a global variable. So you can pass around the pointer and all functions will see your changes as soon as they acces the object.