Turn C++ into C, replace try...catch.