#include #include "lib1.h" using namespace std; int lib1::x = 10; //looks like the definition of a static data member void lib1::f() //looks like the definition of a member function { cout << "lib1::f: x == " << x << ", sizeof (date) == " << sizeof (date) << "\n"; } void lib1::date::print() const //definition of non-inline member function { cout << "lib1::date::print, x == " << x << "\n"; }