I have a large array in C (not C++ if that makes a difference). I want to initialize all members of the same value.
I could swear I
For delayed initialization (i.e. class member constructor initialization) consider:
int a[4]; unsigned int size = sizeof(a) / sizeof(a[0]); for (unsigned int i = 0; i < size; i++) a[i] = 0;