#ifndef BASE_H #define BASE_H //class anotherClass ; //#include "anotherClass.h" class base { private: int private_variable; int protected_variable; public: base() ; // friend function declaration //friend void anotherClass::memberFunction(base& obj); friend class anotherClass ; }; #endif