Archived

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

DevLiquidKnight

When to use malloc?

Recommended Posts

Guest Anonymous Poster
Are you asking for a comparison of malloc/free versus new/delete or are you wondering about memory allocation in general?

Share this post


Link to post
Share on other sites
Mallocation whatever that is i dont know what it is I dont know what it does.. I have no clue when id use it ect? I think it has to do with memory but sense ive never really seen the ram memory and its always been kinda transparent to me it doenst make sense I dont know what allocation is :/

Share this post


Link to post
Share on other sites
malloc is a means of allocating dynamic memory. there are many uses for dynamic memory allocation, a definition of which can be found with a quick search on google, or even msdn. If you plan to use C/C++ in the future, this is a topic you will have to learn sooner or later and cannot (unless someone has tons of free time) be explained fully in a single post on these forums.

Share this post


Link to post
Share on other sites