fusion809 / CSC2402_Revision

C++ programs intended for revision purposes for USQ's CSC2402.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Programs written as part of CSC2402 revision

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

.

About

C++ programs intended for revision purposes for USQ's CSC2402.


Languages

Language:C++ 64.7%Language:Python 35.3%