Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > C++ > map throwing un...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 4 Topic 43953 of 48044
Post > Topic >>

map throwing unhandled exception

by lnwb@[EMAIL PROTECTED] Mar 16, 2008 at 08:36 PM

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
 




 4 Posts in Topic:
map throwing unhandled exception
lnwb@[EMAIL PROTECTED]   2008-03-16 20:36:05 
Re: map throwing unhandled exception
Rolf Magnus <ramagnus@  2008-03-17 06:04:46 
Re: map throwing unhandled exception
kasthurirangan.balaji@[EM  2008-03-16 22:11:34 
Re: map throwing unhandled exception
Paavo Helde <nobody@[E  2008-03-17 02:41:41 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Oct 15 22:35:29 CDT 2008.