Creating an array of C structs

Francesco Cattoglio francesco.cattoglio at gmail.com
Mon Jan 27 08:01:26 PST 2014


On Monday, 27 January 2014 at 13:08:28 UTC, Colin Grogan wrote:

> In my defense, I believe C initializes arrays with the curly 
> brackets....
> Can I keep making excuses?

Yes you can... And don't worry, I mess up initialization too. 
Lots of time.
Especially when I tried initializing an array of structs made of 
2 structs.
I think I wasted at least 15 minutes before giving up :D


More information about the Digitalmars-d-learn mailing list