classes cpp

do cpp have a garbage collector like java or c#?

1st Mar 2022, 10:18 PM
Radosław Sienkiewicz
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.
2nd Mar 2022, 12:03 AM
Schindlabua - avatar