// namespace10.cpp By: Aiman Hanna - ©1993-2006 Aiman Hanna // See namespace-main-9-10.cpp for details #include "namespace9.h" #include "namespace10.h" // Have a shorter aliases for our namespaces namespace r4 = region4; namespace r3 = region3; r4::Calc2::Calc2(double x) { v1 = x; } void r4::Calc2::setValue(region3::Calc1& c1) { v1 = c1.getValue(); } double r4::Calc2::getValue() { return v1; } void r3::Greeting() { cout << "Hello from region 3. \n"; }