You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
355 B
20 lines
355 B
1 month ago
|
#include <HelloTriangleApplication.h>
|
||
|
|
||
|
#include <iostream>
|
||
|
#include <stdexcept>
|
||
|
#include <cstdlib>
|
||
|
|
||
|
int main(int /*argc*/, char */*argv*/[]) {
|
||
|
|
||
|
HelloTriangleApplication app;
|
||
|
|
||
|
try {
|
||
|
app.run();
|
||
|
} catch (const std::exception& e) {
|
||
|
std::cerr << e.what() << std::endl;
|
||
|
return EXIT_FAILURE;
|
||
|
}
|
||
|
|
||
|
return EXIT_SUCCESS;
|
||
|
}
|