Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite+ 1
Types of pointers
3 Réponses
+ 3
Post C++11, there are 4 types of pointers in C++:
unique_ptr, shared_ptr, weak_ptr (smart pointers or wrappers over raw pointers for maintaining resource ownership in different scopes and among different owners), and the raw pointer from C.
You can find more information about them here: https://en.cppreference.com/w/cpp/header/memory
+ 2
https://www.sololearn.com/learn/CPlusPlus/1630/