| delorie.com/archives/browse.cgi | search |
| Date: | Fri, 15 Jan 1999 19:58:16 +0200 |
| From: | Alexander Bokovoy <bokovoy AT bspu DOT unibel DOT by> |
| X-Mailer: | The Bat! (v1.18 Christmas Edition) UNREG |
| Organization: | BSPU named after Maxim Tank |
| X-Priority: | 3 (Normal) |
| Message-ID: | <7832.990115@bspu.unibel.by> |
| To: | Seyil Yoon <djgpp AT delorie DOT com> |
| Subject: | Re: Exceptions in v2.02 |
| References: | <77nrlj$cop$1 AT nntp3 DOT uunet DOT ca> |
| Mime-Version: | 1.0 |
| Reply-To: | djgpp AT delorie DOT com |
Seyil wrote:
> Here's the code snippet:
> try
> {
> // Some code.
> }
> catch(CException Exception)
try this variant of statement (it compiles and works for me without any warnings):
catch(CException& Exception)
> {
> // Do some stuff with Exception.
> }
> CException is a class which I've written.
Best regards,
Alexander Bokovoy, <bokovoy AT bspu DOT unibel DOT by>
= Linux ==============================================================
Though it is always possible to have a look at the world through the
Windows, people usually prefer not only to look but live in it too.
============================================================== Linux =
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |