d2jsp
Log InRegister
d2jsp Forums > Off-Topic > Computers & IT > Programming & Development > How Should I Interpret This Line In C
Add Reply New Topic New Poll
Member
Posts: 3,678
Joined: May 22 2007
Gold: 10,268.39
Jul 28 2020 03:38pm
struct vect *directions[2];

Is it an array of two pointers each pointing to a vect?
Member
Posts: 16,658
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
Member
Posts: 3,678
Joined: May 22 2007
Gold: 10,268.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 Programming & Development Topic List
Add Reply New Topic New Poll