Original Post
How can I write a memory manager that is able to allocate a block of memory when my program starts and then gives me some memory whenever I need one.
I would like to do something like this:
//Start MemoryManager.Init(1024); //1 KB memory (just an example...) //Runtime CSuperman * p = MemoryManager.Request(...); //I need the memory now //End MemoryManager.Delete(p);Is this possible? If yes, how? [edited by - Hippokrates on June 1, 2003 1:21:19 PM]