title: Creating a bash script to compile a c++
body: <p>I have a program I've written in c++ which outputs some simulation results to a .csv excel file.</p>
  
  <p>According to some instructions I need to create a simple bash script that would run the .cpp file given the command "$ run_program" ($ is not a part of the command).</p>
  
  <p>I've looked on Stackoverflow and other sites however I have not found a concrete answer to help me. I would also greatly appreciate it if those who answer can take some time to explain what the parameters mean.</p>
  
  <p>Thank you.</p>
  
  <p><a href="https://stackoverflow.com/questions/15557585/how-i-should-make-a-bash-script-to-run-a-c-program">How I should make a bash script to run a C++ program?</a></p>
  
  <p>This is one of the links I've looked at, however I could not make heads or tails out of this.</p>