pew pew thanks, I forgot to mention that I am not a rookie in programming. I possess basic knowledge of C++ from variables, loop, class, contruct, but before advanced topic such as STL. I used to do numerical analysis in matlab, statistics in R. What I am looking for is a efficient way to get...