How to do it...

In this section, we'll integrate the Guideline Supporting Library (gsl) to a program by modifying a makefile:

  1. Download and copy a gsl implementation (for example, https://github.com/microsoft/GSL).
  2. Copy the gsl folder into your project.
  3. Add the include to the makefile: -I$HOME/dev/GSL/include.
  4. In your source file, include #include <gsl/gsl>.

The gsl currently provides the following: