Half-assed C++ application to import text files to SQL with custom delimiters; as everything else, half-done