A java to c++ translator