POV-Ray : Newsgroups : povray.off-topic : Teach yourself C++ in 21 days : Re: Days 1-5 Server Time
29 Jul 2024 22:27:43 EDT (-0400)
  Re: Days 1-5  
From: Warp
Date: 20 Apr 2012 08:22:01
Message: <4f9154e9@news.povray.org>
Invisible <voi### [at] devnull> wrote:
> I'm currently trying to work out how I can compile a program where 
> module 1 refers to module 2, but module 2 also refers to module 1. As 
> far as I can figure out, this is impossible...

  The only thing that's impossible for a class to have another class
as member variable, and that another class having the first class as
member variable. (For obvious reasons. It would be an infinitely large
class.)

  Other than that, any kind of cross-referencing should be possible.

-- 
                                                          - Warp


Post a reply to this message

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