Forum: Geeks' Lounge Aug 1st, 2008 |
| Replies: 4 Views: 547 That's more of a math question than a C++ question.
At any rate, I believe it has something to do with the Pythagorean theorem. The 2D distance formula is sqrt((x2-x1)^2 + (y2-y1)^2) = D. I'm... |