Hello everyone I'm having a little difficulty, hopefully you guys can help or point me to the right direction. I'm trying to get a pointer from a class point to another pointer from another class. Naturally it doesn't work because the assignment operator doesn't allow us to do this so I thought of overloading it.
This is what I have
friend PointerA operator = (const& PointerA * C, const& PointerA *D)
defining the function
PointerA operator = (const& PointerA * C, const& PointerA *D)
*A = *B;
[change in post]
what if i // this out? *B = *A;