how to modify this code and input this list as input

i see this code in this thread, i want to know how to get input by user or from file in this code. for example this list how to use it as input in this code. i don't know how to modify and how to use it.
Last edited on
Please don't duplicate post (or triplicate as the case might be).
http://www.cplusplus.com/forum/windows/43149/

I would expect the input to be a set of triangles. How can we deduce the triangle(s) from these points?
Topic archived. No new replies allowed.