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
Αυτό το πρόγραμμα περιήγησης δεν υποστηρίζεται πλέον.
Κάντε αναβάθμιση σε Microsoft Edge για να επωφεληθείτε από τις τελευταίες δυνατότητες, τις ενημερώσεις ασφαλείας και την τεχνική υποστήριξη.
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.