print results as table

This commit is contained in:
2017-12-27 23:02:13 +01:00
parent 05573a8666
commit 1184c88410

View File

@@ -27,7 +27,14 @@ int main(int argc, char** argv) {
} }
SelfTest(); SelfTest();
std::cout << *x << std::endl;
x->unhook_all(); x->unhook_all();
} }
std::cout << "+----------+-+-+-+-+-+-+-+" << std::endl <<
'|' << std::setw(10) << "Name" << std::setw(1) << "|S|B|R|A|?|L|T|" << std::endl <<
"+----------+-+-+-+-+-+-+-+" << std::endl;
for (auto&& x : engines) {
std::cout << *x << std::endl;
}
std::cout << "+----------+-+-+-+-+-+-+-+" << std::endl;
} }