Is there a good application (that has some kind of gui) for testing memory leaks in c code. I would really like to test my assignment/programme but being very new to this, i str
Depending on the platform (you don't mention it) Valgrind is fantastic on Linux systems. It has no GUI, but doesn't need one.
Just run valgrind
and it will run your application and spit out any errors during memory operations.
Add the --leak-check=full
and --show-reachable=yes
options after valgrind
to get stack-traces of where your memory leaks originate.