#ifndef LIB2H #define LIB2H #include using namespace std; namespace lib2 { extern double x; void f(); class date { int day; public: date() {cout << "lib2::date::date, x == " << x << "\n";} void print() const; }; } #endif