The codes are designed to follow the concept of backpropagation, as described in my article here.
Create a build directory
mkdir build && cd build
Copy build.sh to build directory
cp ../build.sh ./
Start build and make (executable wil be ./nn)
./build.sh
make