New course! Every coder should learn Generative AI!
Try a free lesson0
classes cpp
do cpp have a garbage collector like java or c#?
1 Answer
+ 4
Using smart pointers you can achieve basic garbage collection in C++. Though it's not as sophisticated as what the C# garbage collector is doing.