|
-
October 20th, 2003, 05:18 AM
#1
How can I delete a Object which is not created by new operator
Hi gurus.
I want delete a object which was not created dynamically (new or someother way) how can i do this.
ex..
class MyClass
{
.....
....
};
int main()
{
MyClass objMyObj;
.......
.......
/// after some stuffs I want delete this object from Memory How can I remove it from Memory...
......
. .......
.....
return 1;
}
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|