POV-Ray : Newsgroups : povray.off-topic : Random C craziness : Re: Random C craziness Server Time
7 Sep 2024 11:21:59 EDT (-0400)
  Re: Random C craziness  
From: Invisible
Date: 25 Jul 2008 09:01:29
Message: <4889cea9$1@news.povray.org>
Warp wrote:

>   Actually there are other ways for the loop to end. For instance, the
> function being called could execute an exit() call.

I believe that is in fact what's meant to happen, yes.

>   (Another less fancy way would be to return a null pointer from the
> function, in which case the program will end with a segmentation fault.)

...or have count() perform any other illegal program-halting action.

-- 
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.