how to use malloc to allocate memory

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....
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.