#include #include "lib1.h" using namespace std; int lib1::x = 10; void lib1::f() { cout << "lib1::f: x == " << x << ", sizeof (date) == " << sizeof (date) << "\n"; } void lib1::date::print() const { cout << "lib1::date::print, x == " << x << "\n"; }