K
K Campbell
Say I have the code in a program below:
namespace c_name
{
int j;
}
int main(int argc, char* argv[])
{
using namespace std;
int j;
cout<<"Hello, World!"<<endl;
using namespace c_name;
j = 5;
}
I was wondering how I could access j (the not the one in c_name).
Any tips?
Kieran
namespace c_name
{
int j;
}
int main(int argc, char* argv[])
{
using namespace std;
int j;
cout<<"Hello, World!"<<endl;
using namespace c_name;
j = 5;
}
I was wondering how I could access j (the not the one in c_name).
Any tips?
Kieran