18 lines
295 B
C++
18 lines
295 B
C++
|
#include "first_app.hpp"
|
||
|
|
||
|
#include <cstdlib>
|
||
|
#include <iostream>
|
||
|
#include <stdexcept>
|
||
|
|
||
|
int main() {
|
||
|
xe::FirstApp app{};
|
||
|
|
||
|
try {
|
||
|
app.run();
|
||
|
} catch (const std::exception &e) {
|
||
|
std::cerr << e.what() << '\n';
|
||
|
return EXIT_FAILURE;
|
||
|
}
|
||
|
|
||
|
return EXIT_SUCCESS;
|
||
|
}
|