Quote Originally Posted by spoon!
Code:
char buff[128] = 0;
char buff[128] = '\0';
no, these are not valid initializers for an array
That's correct. They only set the value in pos. 128 to 0, not the whole array. As it was stated before, you need brackets to set the array to 0 when declaring it.