I have such declaraition
using namespace std;
map < string, string> attr;
if i write it in class or in global namespace it is compiled ok, but if I write it inside function it doesn't. Why? How can I solve it ?
I have such declaraition
using namespace std;
map < string, string> attr;
if i write it in class or in global namespace it is compiled ok, but if I write it inside function it doesn't. Why? How can I solve it ?