// namespace7.cpp By: Aiman Hanna - ©1993-2006 Aiman Hanna // See namespace-main-7-8.cpp for details #include "namespace7.h" void region3::dup(region3::Calc1& c1, region3::Calc1& c2) { c1.setValue(c2.getValue()); } region3::Calc1::Calc1(double x) { v1 = x; } void region3::Calc1::setValue(double x) { v1 = x; } double region3::Calc1::getValue() const { return v1; } void region3::region31::message1() { cout << "Hello..."; } void region3::region31::region32::message2() { cout << "there..."; } void region3::region31::region32::region33::message3() { cout << "This is really horrible.\n"; }