J
Jason Heyes
Can somebody tell me how to change only the main function below so that bar
in the default namespace is assigned 4 and not bar in namespace foo?
int bar;
namespace foo { int bar; }
using namespace foo;
int main()
{
bar = 4;
return 0;
}
Thanks a heap.
in the default namespace is assigned 4 and not bar in namespace foo?
int bar;
namespace foo { int bar; }
using namespace foo;
int main()
{
bar = 4;
return 0;
}
Thanks a heap.