Human.h #pragma once class Human { public: Human(void); }; Human.cpp #include "StdAfx.h" #include "human.h" #include <iostream> using namespace std; Human::Human(void) { cout << " you call Human first " << endl; } Man.h #pragma once class Man : public Human { public: Man(void); }; Man.cpp #include "StdAfx.h" #include "Human.h" #include "Man.h" #include <iostream> using namespace std; Man::Man(void) { cout << " you call man first " << endl; } main.cpp