So I have a pretty basic question. I need to call the destructor of a linked list that I created. I don't know why I cannot figure out the syntax to do so. Here is the needed code below. I'm not sure why I can't grasp the concept of how to call it just by looking at it, as I had no problems writing the destructor itself. Maybe just don't entirely understand how it's used...
Basically I have a Vlist object in main.cpp that is named list. How would I
call the destructor on this object?