define cpp file with namespace code example Example: namespace file linking c++ $ g++ -E hello-world.cpp -o hello-world.ii