Java -> C++