How do you create a program in c++ to find the closest pair of points in a 2D plane recursively?

How do you create a program in c++ to find the closest pair of points in a 2D plane recursively?

Its not about c++.
Its about getting an algorithm first.
The implementing language is not a very big deal if u have a good algorithm. First get an algorithm. If u r not very cmofortable with c++ u can implement in c. Then u can identify the processes and data being used and make an object design for that and proceed with c++.
google for an algo first. (following are some links which u can read)
http://en.wikipedia.org/wiki/Closest_pair_of_points_problem
http://www.facweb.iitkgp.ernet.in/~arijit/courses/autumn2005/close.pdf

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.