I want a c++ program to implement dynamic memory management module using Buddy system. Assume memory (use an array) to be of size 2n . Write the following functions.
1.Allocation module (that allocates block(number of array locations))
2. De allocation module and return to corresponding available list
3.Functions for showing status of available blocks (use doubly linked structure) and of used blocks (corresponding address indices and size in tabular form).
PLEASE HELP FAST.