I'm fundamentally confused about this. Can someone please explain it to me clearly?
Say I have two classes A and B. I want to create an object from Class B in class A, and I want to be able to access and work with this object in all of the functions in class A. Do I create the object in the public/private data section of Class B? Do I declare the object in class B's constructor? What exactly do both of those things do? Does it effect the variables scope if I allocate it dynamically with 'new?' I don't want to use 'new' if I don't have to.