4.1
This code loads, compiles, and links a single file that creates a separate shader program for a single stage. If there are errors, it will get the info-log for those errors.
The code uses some commonly-available C++11 functionality.
#include <string>
#include <fstream>
//In C+...