Code /* namespace3.cpp CIS 250 David Klick 2005-03-07 Demonstration of namespace usage. */ #include using std::cout; using std::endl; #include "Dave.h" using namespace Dave; int main(void) { int x = 5; // Dave::y is seen due to "using namespace" statement cout << y << endl; // Dave::x is hidden by local variable x, and must // be fully qualified to be accessed cout << x << " " << Dave::x << endl; return 0; }