2022-09-19 01:20:51 +00:00
|
|
|
#include "first_app.hpp"
|
|
|
|
|
|
|
|
#include <cstdlib>
|
|
|
|
#include <iostream>
|
|
|
|
#include <stdexcept>
|
|
|
|
|
|
|
|
int main() {
|
2022-09-20 01:28:41 +00:00
|
|
|
app::FirstApp app{};
|
2022-09-19 01:20:51 +00:00
|
|
|
|
|
|
|
try {
|
|
|
|
app.run();
|
|
|
|
} catch (const std::exception &e) {
|
|
|
|
std::cerr << e.what() << '\n';
|
|
|
|
return EXIT_FAILURE;
|
|
|
|
}
|
|
|
|
|
|
|
|
return EXIT_SUCCESS;
|
|
|
|
}
|