Array of struct pointers error

Szymon Gatner noemail at gmail.com
Wed Feb 26 02:09:42 PST 2014


On Wednesday, 26 February 2014 at 10:01:53 UTC, Tobias Pankrath 
wrote:
> On Wednesday, 26 February 2014 at 09:56:39 UTC, Szymon Gatner 
> wrote:
>> I want to keep a list of pointers-to-C-struct but this line:
>>
>>  cpBody* cpBodies_[];
>> which I use as a workaround. I am using DMD 2.065.
>
> cpBody*[] cpBodies;

Is there a different array declaration syntax for pointers? 
Anyway, same error.


More information about the Digitalmars-d-learn mailing list