4 examples for g++

{{ score }}
  # Compiles a C++ programm with output as output
# So you can run ./output
g++ input.cpp -o output
{{ score }}
  # Compile a program executable to a file and display warnings.
# g++ may catch problems before they slap you
g++  -o  -Wall
{{ score }}
  # Compiles your program with debug flags so that valgrind will tell you line numbers of errors
g++  -g
{{ score }}
  # your_comment_here
# compiles your C/C++ program with a.out as output
g++ mySource.cpp