This commit is contained in:
张壹 2024-12-28 21:02:10 +08:00
parent bb6f97b6aa
commit 5c726cf83a
2 changed files with 4 additions and 4 deletions

View File

@ -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<double>(1, 0) << "\n";
tc.info();
*/
return 0;
}
catch(std::exception &e)

View File

@ -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)";