Thanks for the response. However, I added the line you suggested and it did not solve the problem. I believe the line you suggested tells the compiler that we want to specialize the implementation for the special case of int. However, I am not sure of my facts on this one.
can you help me how can i add the passenger constructor in the cpp file
this is the passenger constructor :
#include "Passenger.h"usingnamespace std;
Passenger::Passenger(string a="",string b="",long c=0)//Constructor that initializes the data members to given parameters
} //end constuctor Passenger body