d2jsp
d2jsp Forums > Off-Topic > Programmer's Haven > C/C++/C# > How Should I Interpret This Line In C
Add Reply New Topic New Poll
unrealowner
Group: Member
Posts: 3,676
Joined: May 22 2007
Gold: 9,056.39
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
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
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