Can you use the same namespace in 2 files? For ex:
test.h
namespace x
{
int i;
};
test2.h
namespace x
{
int u;
};
I guess you have you have to include test.h in test2 right? I just find this kinda peculiar because untill now I never really used namespaces a lot,and it's weird for me to see you can make definitions in the same namespace in different files.
Anyway,am I correct?