Translating to C++ from Java
Java handles pointers and memory management implicitly. In C++, your application is responsible for allocating and deallocating memory, and for performing any necessary pointer arithmetic.
Related topics
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Java handles pointers and memory management implicitly. In C++, your application is responsible for allocating and deallocating memory, and for performing any necessary pointer arithmetic.