When you create a struct, you create a new type--just like int, double, float, etc. The new type is the name of the struct. Your vector has to declare what type of things it will contain. 'struct' is not a type.My vector is to hold structure containing three elements (int, int, double).