Trying to computer the closest pair

we are given

double d = p[a].distance(p[b]);

Im not sure how to make out this code. Can anyone explain? And how would I go about this?
Last edited on
Do not doublepost. The other thread: http://www.cplusplus.com/forum/beginner/208388/
Topic archived. No new replies allowed.