POV-Ray : Newsgroups : povray.off-topic : My first C++ program : Re: My first C++ program Server Time
1 Oct 2024 05:16:09 EDT (-0400)
  Re: My first C++ program  
From: Warp
Date: 20 Sep 2008 06:49:48
Message: <48d4d54b@news.povray.org>
Orchid XP v8 <voi### [at] devnull> wrote:
> Has anybody come up with a tool for autogenerating header files yet?

  I suppose there are programs which can be used for that. However,
it's very difficult for the program to tell what is it that belongs
to the public interface of the module and what isn't.

  You don't want to add *everything* to a header file. You only want
to add the *minimal* public interface which is necessary to use the
module, no more.

  If you had to annotate in your source file what goes to the header and
what doesn't, you might as well just write the header file yourself with
the same effort.

-- 
                                                          - Warp


Post a reply to this message

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