Category: Set pointer to null through function
-
Delete Pointer Passed to Function C++ Parameter
I hate C++ pointers. I switch from C to C++ to Java a lot, so I tend to need refreshing once in a while when I go from Java to C++. I was updating some old code the other day and came across a function which was supposed to delete a pointer passed to it…