cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
the distance of two points
the distance of two points
Sep 20, 2016 at 1:45am UTC
ll1234
(7)
Write your question here.
how to work out the distance of two points
Sep 20, 2016 at 1:48am UTC
SakurasouBusters
(732)
double
distance = sqrt((x2 - x1) * (x2 - x1) + (y2 - y1) * (y2 - y1));
Topic archived. No new replies allowed.