Hi,
How to set the size of a struct vector?
I got until this:
Code:typedef struct DES_ks { union { unsigned char cblock[8]; unsigned long deslong[2]; } ks[16]; } DES_key; vector<DES_key> v = { // start of initializer list for struct example { // start of initializer-list for ks {0}, // initializes first element of the union {0} // initializes second element of the union } };