Listing I |
![]() |
![]() |
int main() { try { all_constants::initialize_constants(); all_dependent_statics::initialize_statics(); } catch ( std::runtime_error &exc) { // eventually, log it somewhere std::cerr << "Could not initialize application. Check you props.txt file" << std::endl; return -1; } // ... return 0; } |