These programs were written as part of revision for USQ's CSC2402 subject. The Python scripts are just for plotting data generated by the C++ programs.
I use an executable shell script called compile located at /usr/local/bin on my system to compile and execute the C++ files in this directory. It has the contents:
#!/usr/bin/env bash
infile=${1}
outfile=${1/.cpp/.out}
g++ -g -std=c++11 -I . $infile -o $outfile && \
chmod +x $outfile && \
./$outfile
and is called using:
compile filename.cpp
for example:
compile EarthOrbit.cpp
.