actually, {'\0'}, will null it. '\n' is a new line.Ive tried it with {'\n'} (That would null terminate it, correct?) also, but it didn't change anything
oh and i'd declare it like this
char command[256]=""; anything contained in quotes is automatically ended with null. therefore, since nothing is in quote the char at command[0] equals '\0', the null character.