snprintf(%ld)formatting for longs
The source code is stored in /src.
TextFileLoad is an ANSI-compliant program written in C++ that allows a user to easily import a text file. Data can be loaded by column name or number. Loading by name is advantageous because it allows the order of the columns in the input file to change without any subsequent effect on the analysis.
This class automatically does type conversions. A user is allowed, for example, to load a column of integers into a vector of strings. In cases where there is no logical conversion (e.g., loading a column of strings into a vector of booleans), the data are converted to 0’s.
There are several options available to the user when importing the data:
University of Illinois