customerList is a user defined data type (or in this specific case, a "demonstrator" defined one.) Make sure "customerList.h" is in the correct directory, and is being included properly. If it is, check to make sure there are no compilation errors in that class (and file.)