0
Spanish: ¿Como puedo saber si tengo un espacio de memoria sin liberar?. English: How can I know if I have a memory space withou
Spanish(){ Tengo un programa que hace uso del head para almacenar una cadena dinamica. Pero me viene la pregunta de que si he liberado esa parte de memoria o tengo fuga de memoria. ¿Como puedo saber si tengo memoria sin liberar en mi código C?. } English(){ I have a program that uses head to store a dynamic string. But the question comes to me as to whether I have freed that part of memory or have a memory leak. How can I tell if I have unreleased memory in my C code? }
4 Respostas
+ 1
Most IDE'S have tools or plugins that you can use to check memory usage etc. You'd need to find this info for the IDE that you're using and learn how to use the tool. You can usually Google it and find some tutorials and YouTube videos.
+ 2
Thank you very much I will try. ChaoticDawg
0
.....
ChaoticDawg
I do not know if I asked the correct question, but in google I did not get anything. Only explanation of the dynamic memory and nothing else.
0
Google 'C check for memory leaks'
I find plenty of info and different tools etc with that search.