hi
I need to declare a map globally and use it all over my project. I am declaring the map in a header file like this
map<string,string> gsObjForPrimaryMap;
and in another file i am using it as follows
extern map<string,string> gsObjForPrimaryMap;
typedef pair<string,string> mypair;
when i try to link the project it is giving me syntax error near the extern.
If i have to declare a map globally and use it am i doing the correct thing if not please correct me
thanks in advance
