Hey guys, I am needing to make a code that can search through different files(that have 3 columns of numbers in them) and put all of the first columns in one file and all the 2nd in a different one.. etc.

Ive had some basic C++ classes but im not quite sure how to go about this. Is this even possible in C++? Looking for some pointers to get started.