thanks I've solved the problem by making friend ClassB in ClassA
the header is in classB :
classB& operator+(classA& var);
and implementing it to retrieve a ClassA type :
ClassA &ClassB::...
Type: Posts; User: ranish
thanks I've solved the problem by making friend ClassB in ClassA
the header is in classB :
classB& operator+(classA& var);
and implementing it to retrieve a ClassA type :
ClassA &ClassB::...
hi,
I have two classess classA-var and classB-var
I want to overload * operator so I can return classA-var*classB-var
the header is in classA :
classA& operator+(classB& var);
and implemented it...