Networking, Programming and Graphics Tutorials

Destructors - C++ [1/1]

Type:
Destructors - C++
Level: Intermediate Networking, Programming and Graphics Tutorials Networking, Programming and Graphics Tutorials 
Destructors - C++
Date: 2006-Dec-08
Destructors - C++
Visited: 1389 times
Destructors - C++
Rating: Destructors - C++
Destructors - C++
Author: Alex Plumpton

Destructors are used for destroying the objects that have been created by the constructor. Destructor is a member function whose name is the same as the class name but preceded by a tilde(~). The statement shown in the figure, defines the destructor for the class bill.

General Format: ~bill(){}

Destructors - C++
Rate this tutorial:                    
Networking, Programming and Graphics Tutorials - Destructors - C++ [1/1] - Networking, Programming and Graphics Tutorials

Need a specific tutorial? Do not hesitate and submit a request!
Related Tags: c++ destructors  what is destructors in c++  destructors in C++  theme in the "the destructors"  theme of the destructors  The destructors-theme  Theme of The Destructors  theme in The Destructors  theme statement for "The Destructors"  using microsoft sound recorder