Search:

Type: Posts; User: ranish

Search: Search took 0.00 seconds.

  1. Replies
    2
    Views
    1,115

    thanks I've solved the problem by making friend...

    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::...
  2. Replies
    2
    Views
    1,115

    Operator overloading question[Solved]

    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...
Results 1 to 2 of 2