If he is using the introductory examples from the blue book, chances are that there are no shader source files, but the code is provided inline C++ as char* arrays, the format glShaderSource() expects. So this can be an error caused by a missing " or some such.
Thus i followed that there is a lack of understanding how shader code and application code work together.
But never mind, maybe you're right and i cannot be of help here.