delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/02/08/20:40:32

Message-ID: <36BF90BE.B474389F@geocities.com>
From: The Beyonder <beyonder69 AT geocities DOT com>
X-Mailer: Mozilla 4.5 [en] (Win95; U)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: "Throw"?
References: <01be5377$20a5c120$LocalHost AT default> <36BEA7AA DOT D9A122A0 AT earthlink DOT net>
Lines: 34
Date: Mon, 08 Feb 1999 20:34:54 -0500
NNTP-Posting-Host: 209.103.53.59
X-Complaints-To: abuse AT sprint DOT ca
X-Trace: hme2.newscontent-01.sprint.ca 918524278 209.103.53.59 (Mon, 08 Feb 1999 20:37:58 EDT)
NNTP-Posting-Date: Mon, 08 Feb 1999 20:37:58 EDT
Organization: Sprint Canada Inc.
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

To add to that (just in case you are wondering), throw and catch are
error-handling methods used in C++ to catch stupid (run-time) mistakes
like NULL pointers.

Martin Ambuhl wrote:
> 
> Stefan Viljoen wrote:
> >
> > Hi,
> >
> > I apologize if this should go to the C group, but I just did a course
> > (quite complete) on C and I saw nothing of "throw"?? What is this? Is it
> > unique to DJGPP? Is it similar to "cast"-ing stuff?
> 
> It should definitely NOT go to the C group.  Throw and catch are a
> standard part of the C++ programming language, used for exception
> handling.  Any modern C++ text should cover their use.
> 
> It is not unique to djgpp.
> 
> It has nothing to do with "cast"-ing stuff.
> 
> --
> Martin Ambuhl (mambuhl AT earthlink DOT net)
> Note: mambuhl AT tiac DOT net will soon be inactive

-- 
**********************************************************************
* Sahab Yazdani              * In wars, fools kill fools for foolish *
* Thornhill Secondary School *     reasons - Thom Merrilin (WoT)     *
**********************************************************************
* http://www.geocities.com/TimesSquare/Bunker/8994/index.html * Y2K? *
*     Click the link to visit my portion of The Neverhood     * A-OK *
**********************************************************************

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019