Hi pal,
Is there any routine any of u have how to overload -> operator in C++ that it work just like . opertor, I ve to call member function of class with object like A->function() rather then A.function()- consider it simple object not a pointer for example
Class ABC
{
private:
int c;
public:
functio(){//there is some code }
operator -> {//how to oerload}
};
main()
{
ABC A;
//Actual way
A.functio();
//I want
//A->functio();
}
So pls send me a cmplete code my email address is sulzar@yahoo.com