#include "NormalOldClass.h" #include "ClassTemplate1.h" #include //f4 is a friend to ClassTemplate1 //only one version of this funciton exists //This function has full access to any ClassTemplate1 that it has void NormalOldClass::f4() { cout << "Its Great to be a friend funcion of a different class" << endl; ClassTemplate1 i; i.m_Data = 7; i.m_Int = 14; ClassTemplate1 f; f.m_Data = 7; f.m_Int = 14; }