Hi All,
I need help in C++ . I want to delete the object explicitly when i want . i dont want to be dependent on complier or garbage collector . I also dont want to use define the scope of the object using “{” and end scope by “}” .
ex:
class base
{
};
void main()
{
base object ;
// some code here
// i want delete object on this line ?
/// some more code
}
thanks a lot
Gaurav