Does anyone have a way to initialize an array of ints (any multi-byte type is fine really), to a non-zero and non -1 value simply? By which I mean, is there a w
int
for (count = 0; count < 30; count++) arr[count] = 1;
One line. :)