I'm looking for a function that accepts the name of a txt file and a column number and returns the data of that column.
std::vector<double> getColumn<std::string& file, const int& NumColumn>
The format of the file is as follows
12.333 10.4 3.4
12.333 10.4 3.4
12.333 10.4 3.4
12.333 10.4 3.4
Note: I can implement this function but my question if there is a built-in function in boost or STL since this feature is beneficial. Matlab has a function to handle tabulated data called load