19 lines
		
	
	
		
			283 B
		
	
	
	
		
			C++
		
	
	
	
	
	
		
		
			
		
	
	
			19 lines
		
	
	
		
			283 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| 
								 | 
							
								#include "lve_app.hpp"
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								// sys headers
							 | 
						||
| 
								 | 
							
								#include <cstdlib>
							 | 
						||
| 
								 | 
							
								#include <iostream>
							 | 
						||
| 
								 | 
							
								#include <stdexcept>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								int main() {
							 | 
						||
| 
								 | 
							
								  lve::LveApp app;
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								  try {
							 | 
						||
| 
								 | 
							
								    app.run();
							 | 
						||
| 
								 | 
							
								  } catch (const std::exception &e) {
							 | 
						||
| 
								 | 
							
								    std::cerr << e.what() << '\n';
							 | 
						||
| 
								 | 
							
								    return EXIT_FAILURE;
							 | 
						||
| 
								 | 
							
								  }
							 | 
						||
| 
								 | 
							
								  return EXIT_SUCCESS;
							 | 
						||
| 
								 | 
							
								}
							 |