You can call the deconstructor but it's best not to. Deconstructors are automatically called when the object goes out of scope. Scope is simply anything between two { and } brackets. For example:
Code:
{
int MyVariable = 1;
}
MyVariable += 2; // error. MyVariable is in another scope
So, if you happen to want to destroy an object sooner than say, the end of a function, instead of calling the deconstructor explicitly you can call it implicitly with brackets.
Code:
voidMyFunc (int X, int Y)
{
{
MyObject OBJA;
OBJA.Z = (X*Y);
// ... blahblah
} // MyObject's destructor is called
// ... blahblah
return;
}