// namespace13.h By: Aiman Hanna - ©1993-2006 Aiman Hanna #ifndef __NAMESPACE13_H #define __NAMESPACE13_H #include namespace region3 { class Calc1; // forward declaration // Global methods void dup(Calc1& c1, Calc1& c2); // duplicate the value of c1 to the one of c2 // class Calc1 class Calc1 { public: Calc1(double x = 10); void setValue(double); double getValue() const; private: double v1; }; namespace region31 { void message1(); namespace region32 { void message2(); namespace region33 { void message3(); } } } } // end of namespace region3 #endif