The first code snippet works, the second crashes. As I understand, the second snippet would be more efficient (if I could get it to work). Can someone please point out my stupid mistake? Cheers.
Code:
unsigned long cell[64];
for(int i = 0; i < 64; i++)
cell[i] = 0;
Code:
unsigned long cell[64];
memcpy(cell, 0, sizeof(cell));