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
Tätä selainta ei enää tueta.
Päivitä Microsoft Edgeen, jotta voit hyödyntää uusimpia ominaisuuksia, suojauspäivityksiä ja teknistä tukea.
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.