// namespace12.h By: Aiman Hanna - ©1993-2006 Aiman Hanna #ifndef __NAMESPACE12_H #define __NAMESPACE12_H #include "namespace11.h" namespace region4 { class Calc2 { public: Calc2(double x = 10); void setValue(region3::Calc1&); // duplicate value to the same value of the passed object double getValue(); private: double v1; }; // Global object (variable) static Calc2 dup(220); }// end of namespace region4 namespace region3 // "Extension" to region3 { void Greeting(); } #endif