123456789101112131415161718192021222324252627282930313233343536 |
- #include <iostream>
- #include <exception>
- int cpp_main(int argc, char* argv[]);
- int main(int argc, char* argv[])
- {
- try
- {
- return cpp_main(argc, argv);
- }
- catch (const std::exception& ex)
- {
- std::cout
- << "\nERROR ERROR ERROR ERROR ERROR ERROR ERROR ERROR ERROR ERROR ERROR\n"
- << "\n****************************** std::exception *****************************\n"
- << ex.what()
- << "\n***************************************************************************\n"
- << std::endl;
- }
- return 1;
- }
|