POV-Ray : Newsgroups : povray.off-topic : My first C++ program : Re: My first C++ program Server Time
2 Nov 2024 17:04:02 EDT (-0400)
  Re: My first C++ program  
From: Warp
Date: 21 Sep 2008 08:18:51
Message: <48d63bab@news.povray.org>
Orchid XP v8 <voi### [at] devnull> wrote:
> It seems that streams at least signal errors by altering the stream 
> object and getting the programmer to call a member function to check 
> whether an error condition occurred. Is that a usual C++ idiom?

  I'm not sure there *is* any "usual" C++ idiom for error handling
(other than throwing exceptions).

-- 
                                                          - Warp


Post a reply to this message

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