POV-Ray : Newsgroups : moray.win : Bug in export? : Re: Bug in export? Server Time
28 Jul 2024 22:27:26 EDT (-0400)
  Re: Bug in export?  
From: Johannes Hubert
Date: 11 Nov 1999 04:27:38
Message: <382a8c0a@news.povray.org>
Ian Burgmyer <the### [at] hotmailcom> wrote in message
news:3825158b@news.povray.org...
[snip]
>
> Ditto here.  Unless Moray has it's own error handler, which I don't really
> think is very logical in a Windows program, and is it even POSSIBLE
without
> seriously hacking up the code?  And, if there is such an error handler,
then
> I'd think it would iron out these kind of things.  I dunno.

It's built in into the output functions of C++ i think.

Try "printf("%d", 10/0);" or "cout << (10/0);" and you should get something
like that (I think).
On the other hand, if you try "int x = 10 / 0"; you will get an exception.

Johannes.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.