Jump to content
  • Advertisement

Archived

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

hlusnagen

Free memory and linked-lists

This topic is 6111 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

Hi thare. I have two general Q''s for ya''. One: How can I get the current amount of RAM avalible and the total RAM on the machene (C++) Two: Is it a good idea to use CList from MFC, or is it beter to make your own list api? - Thanx

Share this post


Link to post
Share on other sites
Advertisement
under windows : GlobalMemoryStatus()

list : use the std::list (or std::vector if what you really want is a dynamic array)

Share this post


Link to post
Share on other sites
I would suggest u use STL list, but that''s just my own (prejudiced I''m sure) opinion ...

---------------

I finally got it all together...
...and then forgot where I put it.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!