Is there a way to use letters instead of signs for operators?
1 2 3 4 5 6 7
class MyClass {
public:
int x;
MyClass(int a){this->x=x;}
intoperator + (MyClass c){return x+c.x;} //how you would normally do.
intoperator add(MyClass c){return x+c.x;} //why can't I do this?
};