Welcome to Dream.In.Code
Getting Help is Easy!

Join 132,619 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,013 people online right now. Registration is fast and FREE... Join Now!




garbage collection

 
Reply to this topicStart new topic

garbage collection, garbage collecting techniqs

jack142
post 15 Sep, 2005 - 12:28 AM
Post #1


New D.I.C Head

*
Joined: 14 Sep, 2005
Posts: 11


My Contributions


can any suggest som techniqs for garbage collection
User is offlineProfile CardPM

Go to the top of the page

narven
post 15 Sep, 2005 - 02:57 AM
Post #2


New D.I.C Head

Group Icon
Joined: 6 Feb, 2005
Posts: 29



Thanked 1 times

Dream Kudos: 25
My Contributions


garbage collection??? tongue.gif a waste disposal biggrin.gif

i'm not sure if this is what you mean... but i use a great program.. that is a database for snippes and code, and so on... you can keep alot of thinks...

it's CodeLib.Net (mysql) at http://myweb.hinet.net/home4/s630417/

hope that helps
User is offlineProfile CardPM

Go to the top of the page

Amadeus
post 15 Sep, 2005 - 04:33 AM
Post #3


g++ -o drink whiskey.cpp

Group Icon
Joined: 12 Jul, 2002
Posts: 12,176



Thanked 33 times

Dream Kudos: 25
My Contributions


Most programming languages have built in garbage collectors, but the best way to do it it always set the object to null, then delete it...you can write a function to take care of that...the number of objects you have will dictate the complexity.
User is offlineProfile CardPM

Go to the top of the page

avolel
post 16 Sep, 2005 - 06:00 AM
Post #4


New D.I.C Head

*
Joined: 24 Aug, 2005
Posts: 38



Thanked 1 times
My Contributions


Just deallocate memory variables when you are finished with them. Remember this will not work for languages like Java which automatically does it for you.
User is offlineProfile CardPM

Go to the top of the page

Fast ReplyReply to this topicStart new topic
Time is now: 11/23/08 03:19AM

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month