Pete's QBASIC Site Forum Index Pete's QBASIC Site
Return to Pete''s QBasic Site
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Does Deallocate have to be used per case?

 
Post new topic   Reply to topic    Pete's QBASIC Site Forum Index -> Freebasic Questions & Answers
View previous topic :: View next topic  
Author Message
Mentat



Joined: 07 Aug 2007
Posts: 406
Location: NC, US

PostPosted: Sat Jan 19, 2008 8:46 am    Post subject: Does Deallocate have to be used per case? Reply with quote

Is there a way to just wipe out everything allocated with just one swipe?
_________________
For any grievances posted above, I blame whoever is in charge . . .
Back to top
View user's profile Send private message Send e-mail
coderJeff



Joined: 08 Jan 2008
Posts: 16

PostPosted: Thu Jan 24, 2008 1:39 pm    Post subject: Reply with quote

No, if you are doing your own allocations, you must remember to free the memory for each one. Allocate/Deallocate is not managed in any way.
Back to top
View user's profile Send private message
Mentat



Joined: 07 Aug 2007
Posts: 406
Location: NC, US

PostPosted: Thu Jan 24, 2008 2:38 pm    Post subject: Reply with quote

Ok. Must all pointers be properly destroyed, or are they taken care of?
_________________
For any grievances posted above, I blame whoever is in charge . . .
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Pete's QBASIC Site Forum Index -> Freebasic Questions & Answers All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group
Protected by Anti-Spam ACP