lundi 16 mars 2015

Creating a bash script to compile a c++


I have a program I've written in c++ which outputs some simulation results to a .csv excel file.


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).


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.


Thank you.


How I should make a bash script to run a C++ program?


This is one of the links I've looked at, however I could not make heads or tails out of this.




Aucun commentaire:

Enregistrer un commentaire