K
ktxn1020
Hi,
I am pretty new to multithreaded programming. I have a question with a
hope someone can help me out.
I want to find distances between points using thread (Win MFC)
For instance distance from:
p1 to p2, p3, p4, p5
p2 to p1, p3, p4, p5
p3 to p1, p2, p4, p5
p4 to p1, p2, p3, p5
p5 to p1, p2, p3, p4
with
p1(x1, y1) = p1(42.67,73.75)
p2(x2, y2) = p2 (61.22, 149.9)
p3(x3, y3) = p3(30.27, 97.73)
p4(x4, y4) = p4(35.18,101.83)
p5(x5, y5) = p5(41.15, 104.87)
using formular distance = square root (square (x2 - x1) + square (y2 -
y1))
How can I do it and what is the best way to do this?
Thanks in advance,
I am pretty new to multithreaded programming. I have a question with a
hope someone can help me out.
I want to find distances between points using thread (Win MFC)
For instance distance from:
p1 to p2, p3, p4, p5
p2 to p1, p3, p4, p5
p3 to p1, p2, p4, p5
p4 to p1, p2, p3, p5
p5 to p1, p2, p3, p4
with
p1(x1, y1) = p1(42.67,73.75)
p2(x2, y2) = p2 (61.22, 149.9)
p3(x3, y3) = p3(30.27, 97.73)
p4(x4, y4) = p4(35.18,101.83)
p5(x5, y5) = p5(41.15, 104.87)
using formular distance = square root (square (x2 - x1) + square (y2 -
y1))
How can I do it and what is the best way to do this?
Thanks in advance,