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 - C++ Learning > What exception ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 4 Topic 4224 of 4370
Post > Topic >>

What exception does map throw

by Andrew Falanga <af300wsm@[EMAIL PROTECTED] > Jul 29, 2008 at 11:29 AM

Hi everyone,

I'm finally writing some code to use a map.  I've never used them
before so this is exciting.  I'm wondering what exception does the
map<> container object through if a key requested does not exist in
the map?  I don't have a good reference for the STL (I'm using my C++
programming book, "Object-Oriented Programming in C++," by Robert
LaFore which has already proven inaccurate a few times and doesn't
cover in depth the STL).  The program I'm writing I definitely want it
to recover if the key isn't found in the map.

Thanks,
Andy
 




 4 Posts in Topic:
What exception does map throw
Andrew Falanga <af300w  2008-07-29 11:29:53 
Re: What exception does map throw
"Jim Langston"   2008-07-29 12:02:47 
Re: What exception does map throw
Andrew Falanga <af300w  2008-07-29 12:16:15 
Re: What exception does map throw
"Daniel T." <  2008-07-29 20:40:09 

Post A Reply:
  Go here to Signup

AddThis Feed Button


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

Contact
tan12V112 Fri Nov 21 9:45:20 CST 2008.