hello there.
here's the problem.
i understand that x is refering to v2 in this case.
what about v1? how can i acces it? i tried using
this->somefunction to indicate this == v1 but come out with error
any help would be much appreciated
here's the problem.
Code:
//given 2 constructor vector v1; vector v2(parameter); //member function n= intdotProduct(const Vector &x) //in the test code it is given as n=v1.dotProduct(v2);
what about v1? how can i acces it? i tried using
this->somefunction to indicate this == v1 but come out with error
Code:
Error error C3867: 'Vector::getNumColumns': function call missing argument list; use '&Vector::getNumColumns' to create a pointer to member
Comment