diff --git a/example/text_io_ex.cpp b/example/text_io_ex.cpp index 8dbadda..f0c0cfc 100644 --- a/example/text_io_ex.cpp +++ b/example/text_io_ex.cpp @@ -32,7 +32,7 @@ using namespace gctl; int main(int argc, char const *argv[]) try { - +/* dsv_io tc; tc.set_delimeter('|'); tc.load_text("tmp/world_data", ".txt", BothHead); @@ -49,8 +49,8 @@ int main(int argc, char const *argv[]) try name.show(std::cout, ','); tc.save_csv("out"); +*/ -/* geodsv_io tc; tc.load_text("tmp/topo", ".txt", ColumnHead); tc.cell(0, 0, std::string("x (m)")); @@ -78,7 +78,7 @@ int main(int argc, char const *argv[]) try std::clog << std::setprecision(12) << tc.cell(1, 0) << "\n"; tc.info(); -*/ + return 0; } catch(std::exception &e) diff --git a/lib/io/dsv_io.cpp b/lib/io/dsv_io.cpp index cbdb8b7..8098fdb 100644 --- a/lib/io/dsv_io.cpp +++ b/lib/io/dsv_io.cpp @@ -299,7 +299,7 @@ void gctl::dsv_io::info() } else { - std::clog << "Col-" << std::to_string(i) << ": " << table_[0][i].str_ << " -> " << table_[row_num_ - 1][i].str_; + std::clog << table_[0][i].str_ << " -> " << table_[row_num_ - 1][i].str_; } if (!bool_table_[0][i]) std::clog << " (No output)";