POV-Ray : Newsgroups : povray.off-topic : An explanation of what next_permutation does : Re: An explanation of what next_permutation does Server Time
4 Sep 2024 23:22:23 EDT (-0400)
  Re: An explanation of what next_permutation does  
From: Orchid XP v8
Date: 5 Dec 2009 13:45:01
Message: <4b1aaa2d@news.povray.org>
>> make a typo in a C program, the program stops and says "error: 
>> segmantation fault".
> 
> *If* you're lucky.  What's worse is when it *doesn't*. :-)

Worse Than Failure.

>> As far as I'm aware, you cannot catch segfaults.
> 
> You can, but not in a portable way.

I had a feeling the OS might provide a way to do this. (Presumably 
that's how the shell tells you your program segfaulted.) And that would 
make it OS-dependent...

-- 
http://blog.orphi.me.uk/
http://www.zazzle.com/MathematicalOrchid*


Post a reply to this message

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