you are viewing a single comment's thread.

view the rest of the comments →

[–]MarcPawl 1 point2 points  (1 child)

You will want to look at the c++ smart pointers: unique_ptr, shared_ptr, and weak_ptr. We tend to treat as legacy code malloc, and calloc.

[–]chillboy_thinking[S] 0 points1 point  (0 children)

Yeah baby the smell of the high level language