

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


C:\Documents and Settings\Administrator\My ...Studio 2010\Projects\namespace\namespace\namespace.h 1
namespace abc { int a; }
namespace xyz { float a; }
C:\Documents and Settings\Administrator\My ... 2010\Projects\namespace\namespace\namespace.cpp 1
#include #include "namespace.h"
//using namespace abc; //this will print integer in the output using namespace xyz; //this will print float in the output
void main() { a = 2. 221 ; //printf("%d", a); printf("%f", a); getch();
}