using namespace in c++ class in antoher file code example Example: namespace file linking c++ $ g++ -E hello-world.cpp -o hello-world.ii