#include // anonymous namespace // objects in this namepsace can be accessed only in this translation unit namespace { int x; } namespace www_0x4849_dot_net { int y; } // this is a namespace alias // the alias can be used in place of the original name namespace hi = www_0x4849_dot_net; int main() { x = 3; hi::y = 2; www_0x4849_dot_net::y +=2; std::cout << x + hi::y << std::endl; return 0; }