You are viewing a single comment's thread. Return to all comments →
My code keeps on getting timeout no matter what i do
try { cout << Server::compute(A, B) << '\n'; } catch (std::bad_alloc&) { cout << "Not enough memory\n"; } catch (std::exception& e) { cout << "Exception: " << e.what() << '\n'; } catch (...) { cout << "Other Exception\n"; }
Seems like cookies are disabled on this browser, please enable them to open this website
Exceptional Server
You are viewing a single comment's thread. Return to all comments →
My code keeps on getting timeout no matter what i do
try { cout << Server::compute(A, B) << '\n'; } catch (std::bad_alloc&) { cout << "Not enough memory\n"; } catch (std::exception& e) { cout << "Exception: " << e.what() << '\n'; } catch (...) { cout << "Other Exception\n"; }