Write a program that implements the Buddy System algorithm for memory management.
For input the program accepts:
1) the amount of total available memory and
2) the sequence of integers with allocation (+) or return (-) requests.
As output, the program must print the table showing the state of the memory ( after each allocation or return).
Test the program with the following input parameters: Two megabytes of available memory and the following sequence: (A: +20K), (B: +35K), (C: +90K), (D: +40K), (E: +240K), (D: -40K), (A: -20K), (C: -90K), (B: -35K), (E: -240K).
Hi, I'm a OS expert experienced C/C++/ObjC developing.
I know Buddy algorithm of Linux Kernel.
I can develop almost kinds of C/C++/ObjC codes for any OS : Windows, Linux, MAC OS X...
I can use almost of develop libraries such as QT, MFC, boost... and IDE tools that you prefer.
I had done several developing tasks related operating systems or applications.
I can also develop IPhone/IPad Apps with Corona SDK, Obj C, QT and Swift
Please check my profile and contact with me.
Best regards!