There are two examples for memory allocation. The first is for replacing new and delete. The second is one for C programmers with notes about replacing malloc, calloc, realloc, and free.
new
delete
malloc, calloc, realloc
free
18.216.213.126