vector2D *TEMP1 = new vector2D();
*TEMP1 = V1-V2; //v1 & v2 = vector struct
float x1 = TEMP1.x;
float x2 = TEMP1.y;
delete vector2D;
~~path~~ `x' has not been declared
~~path~~ `y' has not been declared
vector2D TEMP1 = vector2D(0,0);
TEMP1=V1-V2;
float x1 = TEMP1.x;
float x2 = TEMP1.y;