main.cpp 299 B

1234567891011121314151617181920212223
  1. #include "first_app.h"
  2. // STD
  3. #include <cstdlib>
  4. #include <iostream>
  5. #include <stdexcept>
  6. int main(int argc, char* argv[])
  7. {
  8. coral_3d::first_app app{};
  9. try
  10. {
  11. app.run();
  12. }
  13. catch (const std::exception& e)
  14. {
  15. std::cerr << e.what() << "\n";
  16. return EXIT_FAILURE;
  17. }
  18. return EXIT_SUCCESS;
  19. }