How can I call a member function of an object inside a vector?
I want a function to return a value that the member function returns. Is this OK:
Code:vector<dot> vDot; vDot.push_back(a_dot); //following code is in the function return (vDot.at(0)).gy(); //gy() means get Y and it returns an int