Tuesday, September 3, 2013

Bubble Sort with DMA + Source

Assignment's Information
Here is an illustration of what the program should do: http://pastebin.com/WTLUggxd It might look a little complicated but if you write out the thought process, it will be a piece of cake. Also, one of the requirements the program must have is to DMA(Dynamic Memory Allocation) so it will be a little professional and much more productive and efficient.

Solution: http://pastebin.com/Cz5eBDib

Note: I am sure there are more efficient ways and I admit I am not the most efficient coder but I am trying to be one because I have realized that efficiency plays a huge role in programming. So, If you have any suggestions or constructive criticism, please feel free to reply.

1 comment: