Skip to content

Instantly share code, notes, and snippets.

@fernandozamoraj
Created March 9, 2019 06:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fernandozamoraj/15ce58cfe5b252ff762dfe6d7c369922 to your computer and use it in GitHub Desktop.
Save fernandozamoraj/15ce58cfe5b252ff762dfe6d7c369922 to your computer and use it in GitHub Desktop.
Valgrind Commands C++
g++ -g -std=c++11 mymain.cpp ./subfolder/myutil.cpp ./subfolder/myutil2.cpp -o myprogram.exe
./myprogram.exe
valgrind ./myprogram.exe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment