Idlework
This commit is contained in:
@@ -1,8 +1,22 @@
|
||||
#include <iostream>
|
||||
#include <exception>
|
||||
#include <mind.h>
|
||||
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
hk::Mind mind;
|
||||
|
||||
try {
|
||||
std::cout <<PACKAGE_NAME <<" " <<PACKAGE_VERSION <<std::endl;
|
||||
}
|
||||
catch (const std::exception& e) {
|
||||
std::cerr << "Exception occurred: " <<e.what() <<std::endl;
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
catch (...) {
|
||||
std::cerr << "Unknown exception occurred" <<std::endl;
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user