Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

*pp?

4 views
Skip to first unread message

T

unread,
Dec 1, 2022, 11:59:10 PM12/1/22
to
Hi All,

By any chance does *ppSessionInfo mean a pointer
to another pointer?

Your in confusion,
-T

R.Wieser

unread,
Dec 2, 2022, 2:00:57 AM12/2/22
to
T,

> By any chance does *ppSessionInfo mean a pointer
> to another pointer?

I ofcourse can't, due to the absense of context, be absolutily sure, but
yes, it nornally does (you're providing a pointer to a pointer-variable the
function/method/procedure can store its pointer to a structure/record/memory
block in). Though I must say I always regarded it as a bad/odd mix of
C{something}-specific language (the "*") and the so-called "Hungarian
notation".

What I mean ? The "*" means pointer. The two "p"-s the name starts with
mean the same. So, I /could/ read it as a pointer to a pointer to a pointer
(three pointers) ... :-|

As I'm not really a C{something} programmer I again can't be fully sure, but
in it I expect(ed) it to be something like "**SessionInfo".

Regards,
Rudy Wieser


T

unread,
Dec 2, 2022, 2:26:23 AM12/2/22
to
Oh crap. I just figured out how to handle c pointers
in Raku. Now I have to figure out how to do pointers
to pointers. AAAAA HHHHHH !!!!!

Thank you for the confirmation.

R.Wieser

unread,
Dec 2, 2022, 3:51:57 AM12/2/22
to
T,

> Oh crap. I just figured out how to handle c pointers
> in Raku. Now I have to figure out how to do pointers
> to pointers. AAAAA HHHHHH !!!!!

Ain't programming (when you have to figure out everything by yourself) a
nice hobby ? :-D

> Thank you for the confirmation.

You're welcome.

Regards,
Rudy Wieser


0 new messages