//police.cpp #ifndef __POLICE_CPP__ #define __POLICE_CPP__ #include "person.h" #include "police.h" Passport* Police::makePassport(Person &P) { Name &N = P.getName(); Passport *tmp = new Passport(N); return tmp; }; #endif