Re: [C++] Opening an ifstream with a generalized function?

From: Mike Wahler (mkwahler_at_mkwahler.net)
Date: 01/20/05


Date: Thu, 20 Jan 2005 21:09:58 GMT


"entropy123" <email_entropy123@yahoo.com> wrote in message
news:1106254353.301294.75190@c13g2000cwb.googlegroups.com...
> Hey Chris,
>
> Thanks for the snippet...it fits right in!
>
> Is there a book and/or place on the net with good information on
> "throw" and "catch" commands?

Nit: C++ does not have 'commands'. 'throw' and 'catch'
are keywords.

>These types of things are becoming of
> interest to me, but I can't seem to find a good reference...

See the book reviews at www.accu.org

One book in particular that gives thorough treatment
of exception handling (and much more) is Sutter's
"Exceptional C++".

I can't recommend a good online reference because I have
yet to encounter one.

-Mike



Relevant Pages

  • Re: <OT?> Kernel Tuning
    ... Hey Chris, ... > For that to be the case we'd need to have some sort of collective mind, ... > taught how to fish INSTEAD of being thrown a fish. ...
    (RedHat)
  • Re: Checking for null parameter
    ... Lew wrote: ... > A method must be coded to handle any input that fits ... if you don't have any logging or exception handling. ...
    (comp.lang.java.programmer)
  • Re: [C++] Opening an ifstream with a generalized function?
    ... >> Thanks for the snippet...it fits right in! ... > are keywords. ... >>These types of things are becoming of ... > I can't recommend a good online reference because I have ...
    (alt.comp.lang.learn.c-cpp)