mtapi_cpp_main-snippet.h 203 Bytes
Newer Older
1 2 3 4 5 6
  EMBB_TRY {
    int result = fibonacci(6);
    std::cout << "result: " << result << std::endl;
  } EMBB_CATCH(embb::mtapi::StatusException &) {
    std::cout << "MTAPI error occured." << std::endl;
  }