L
lnwb
Hi does anyone know the answer to this one.
If I use the following code on the same page as the main{ } function
then it works ok.
If I use it on an external page like a header page for a class it
throws an unhandled exception when the program is closed,driving me
nutsssss
typedef map<string,map<string,int> > CatNSubs;//to hold the category
list and
CatNSubs subTable;//for catagory and subs
typedef CatNSubs::const_iterator mapIter;
typedef map<string,int>::const_iterator innerMapIter;
as I said this works perfectly on the main page.
regards LB
If I use the following code on the same page as the main{ } function
then it works ok.
If I use it on an external page like a header page for a class it
throws an unhandled exception when the program is closed,driving me
nutsssss
typedef map<string,map<string,int> > CatNSubs;//to hold the category
list and
CatNSubs subTable;//for catagory and subs
typedef CatNSubs::const_iterator mapIter;
typedef map<string,int>::const_iterator innerMapIter;
as I said this works perfectly on the main page.
regards LB