POV-Ray : Newsgroups : povray.programming : How does parser.cpp/parstxtr.cpp work? : Re: How does parser.cpp/parstxtr.cpp work? Server Time
28 Jul 2024 06:11:58 EDT (-0400)
  Re: How does parser.cpp/parstxtr.cpp work?  
From: Jan Walzer
Date: 22 Oct 2002 11:30:11
Message: <web.3db56e012e88276b576e3f040@news.povray.org>
Thomas Willhalm wrote:
>jan### [at] lzernet wrote:
>>
>> PS: Question from newbie:
>> struct *T;
>> T->A.B == (*T).A.B ?
>Yes and btw *T.A.B is the same as *(T.A.B)

I start to understand ... ... slowly ...

>
>>     I'm still getting confused with pointerstuff....
>but if you need thm, they're useful. The better way is of course to
>encapsulate them in a C++ class.

please lemme 1st understand this C stuff ...

>Thomas (still not thinking that hiding pointers like in Java is the right
>way to go)

They're not really hidden ... It's just the pointer-arithmetic which isn't
allowed (IMHO for good reasons) and that all non-primitive types are given
by reference ...

But thx for the answer ...


Post a reply to this message

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