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
|