how to use malloc to allocate memory

May 30, 2010 at 4:42am
i want to know how to allocate memory using malloc........ i created a linked list of 500 nodes and i need to allocate that memory to implement something on top of that memory....
May 30, 2010 at 9:22am
http://www.cplusplus.com/reference/clibrary/cstdlib/malloc/

But I would advice to use new, because this is a C++ forum ;).
Topic archived. No new replies allowed.