I have :
struct ListNode
{
Class* nodeData;
ListNode* curr;
};
I want to call a member function of Class :
curr -> nodeData.do_something();
'do_something' is declared as a member function of Class.
I GET THE FOLLOWING MESSAGE : non object . do_something