hello, am confused..., sometimes i see pointers to a class as their declaration, ie,
then, somwhere inside their function they would do this,
pA = new CLASS_A:
that is perfectly understandable, because you can't use an uninitialized pointer anyways.., what's confusing about this is,
why they didn't just decalred it as normal object, not a pointer to this class ie,
then, they wouldn't need to initialize it anymore and they could easily access the member functions etc.,
so why, actually a lot of people does that?
thanks for your sides,