Making a copy constructor, I am getting a problem.
Code:CPost::CPost(const CPost& rhs) { rhs.GetMessageLength(); //error on this line }Some discussions I found about this recommended taking away the const, but when I do that, MS VC++ 6.0 wont recognize it as a copy constructor. Is anyone aware of a solution to this problem?error C2662: 'GetMessageLength' : cannot convert 'this' pointer from 'const class CPost' to 'class CPost &'