I'm taking a beginner's C++ class, and long story, but for now I have to work without the textbook.
This is from a class point (for a triangle) example.
I have a basic understanding of classes, but what I can't find any help on is this:
double distance (const point& another) const;
My questions: what does the ampersand at the end of point& do, and is "another" a keyword, or is it an arbitrary assignment, and what does it do?
Thank You Thank You, for your time.