d2jsp
d2jsp
Rules
Help
Forum Gold FAQ
Live Streams
Photo Gallery
Hourly Raffle
Ladder Slasher
Account Recovery
Resend Validation Email
Log In
Register
d2jsp Forums
>
Off-Topic
>
Programmer's Haven
>
C/C++/C#
> How Should I Interpret This Line In C
Add Reply
New Topic
New Poll
Views: 1023
Replies: 2
Track Topic
unrealowner
Group: Member
Posts: 3,676
Joined: May 22 2007
Gold
:
9,056.39
#1
Jul 28 2020 03:38pm
struct vect *directions[2];
Is it an array of two pointers each pointing to a vect?
muskelsvind
Group: Member
Posts: 16,657
Joined: Nov 10 2010
Gold
:
13.50
#2
Jul 28 2020 03:39pm
Quote (unrealowner @ 28 Jul 2020 23:38)
struct vect *directions[2];
Is it an array of two pointers each pointing to a vect?
yes, 2 addresses
unrealowner
Group: Member
Posts: 3,676
Joined: May 22 2007
Gold
:
9,056.39
#3
Jul 28 2020 03:42pm
Quote (Avalon @ 28 Jul 2020 17:39)
yes, 2 addresses
Thanks! Too much java lately lol
Go Back To
C/C++/C#
Topic List
Add Reply
New Topic
New Poll
© 2003-2023 d2jsp
Contact