So i have class that holds inside a pointer to an object i want to use an acessor to retrive the value for example: class Example{ private: Pointing* aPointer; public: Example(Pointing* point){ aPointer = point; } int acessor(){ return aPointer->exampleMethod(); } }; when compiling i receive an error anyone have any ideas
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)