sianpunky 0 Newbie Poster

C++ Syntax (Toggle Plain Text)

Hi,
from the previous link :

http://www.daniweb.com/software-development/cpp/threads/365264

How to do i sort by using X or Y for the coordinates of Line2D and Line3D since Line2D, Line3D contains 2 pairs of coordinates.

example.
Line3D, [7, 12, 3], [-9, 13, 68]
Line2D, [5, 7], [3, 8]
Line3D, [7, -12, 3], [9, 13, 68]
Line3D, [70, -120, -3], [-29, 1, 268]
Line3D, [25, -69, -33], [-2, -41, 58]
Line2D, [5, 6], [3, 8]

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.