|
-
December 29th, 2008, 10:03 AM
#7
Re: Using delete on an object without new
 Originally Posted by Gorbo
So main is void instead of int big deal it's not a real program just a test program and i need the code unchanged all changes must be in class X why do i need it well it's an assignment so no reason really just because it's what needs to be done...
anyway i hope i cleared things up and you can point me to the right direction now...
Sentences are a good thing.
That doesn't clear anything up as you didn't provide an explanation as to why it's required. Let's try again. Why do you need to call delete on a stack allocated object? What are you trying to accomplish?
Tags for this Thread
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
|