Need help converting c++ namespace code

How should I go about porting c++ code that makes EXTENSIVE use of c++ namespaces?