I am trying to code a project which will track on heap area of c program, something like in memory profiler, on windows os, using dev cpp compiler, what would be the steps for it? thanks.
You should take a look at MemProf or massif.