simultaneous struct member initialization and definition in c99 -
i'm trying create trie, , need have booleans equate false unless otherwise specified. however, format simultaneous member initialization , definition valid in c++11 apparently... there way in c99?
typedef struct { bool booleans[28] = { false }; struct node *next[27]; }node;
Comments
Post a Comment