• Advertisement

Archived

This topic is now archived and is closed to further replies.

My Hardisk is Full When run my Game

This topic is 5881 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I dont know why my hardisk is alway Full when i run my game and game is Exit automatically. i check all my code to free memory but i dont find any thing tofix would you answer howto free memory when running game (my game is like tetris but it is addline in buttom of screen) my algorithm is to create all block with pointer to struct and use it swap it my game scan all pointer to struct and paint in screen with information in struct help me

Share this post


Link to post
Share on other sites
Advertisement
Guest Anonymous Poster
Obviously, you are having a mem leak. Get a mem tracknig util, search google.

Are you using C++? Then new/delete is the ticket.
C? Then malloc/free. Note, DO NOT MIX & MATCH! IE, don''t use malloc with delete...

If you want more help, then post source



Share this post


Link to post
Share on other sites

  • Advertisement