09-16-2021, 11:03 PM
Hey there everyone,
Not sure how much information one needs to help me get Valgrind to be fully setup. If necessary, I will post the version of Linux Lite and Code::Blocks currently installed on my computer. HOpefully, what is included will be sufficient.
I am currently using Code::Blocks as my compiler. I have created a simple project by the name of DynIntArray. in this project there are two classes:
DynIntArray & DynVoidArray. Each one has a dynamic array. In order to verify that my project is not leaking memory, I am hoping to use Valgrind. I have already installed it, but I now need to edit the bashrc file so it includes "export VALGRIND_LIB = '/usr/lib/valgrind'. Unfortunately, once I have opened the bashrc file to edit it, I am not sure how to save it. Furthermore, the video I was watching seems to be meant for Ubuntu rather than Linux Lite. How may I open, edit, and save the changes I wish to make to the .bashrc file? Hopefully, with some assistance, I can check to ensure the project is not leaking memory.
Thank you for reading this post, and I very much look forward to reading your responses.
Not sure how much information one needs to help me get Valgrind to be fully setup. If necessary, I will post the version of Linux Lite and Code::Blocks currently installed on my computer. HOpefully, what is included will be sufficient.
I am currently using Code::Blocks as my compiler. I have created a simple project by the name of DynIntArray. in this project there are two classes:
DynIntArray & DynVoidArray. Each one has a dynamic array. In order to verify that my project is not leaking memory, I am hoping to use Valgrind. I have already installed it, but I now need to edit the bashrc file so it includes "export VALGRIND_LIB = '/usr/lib/valgrind'. Unfortunately, once I have opened the bashrc file to edit it, I am not sure how to save it. Furthermore, the video I was watching seems to be meant for Ubuntu rather than Linux Lite. How may I open, edit, and save the changes I wish to make to the .bashrc file? Hopefully, with some assistance, I can check to ensure the project is not leaking memory.
Thank you for reading this post, and I very much look forward to reading your responses.