I have an example here:
Code:#include <iostream> class test{ private: int a; public: test(){a=3;}; test operator+(whatgoesinhere? x){test temp;temp.a=a+variable a that we got from b;return temp;} }; using namespace std; int main() { test *a = new test, *b = new test; a=a+b;//call to the function should look like this but with the correct prefixes so the return gets into a return 0; }