Yes, when I said "buff[0]", I meant "buff[0]".

buff is a char array, so buff[0] is the start of the line after fgets. buff[1] is the second character, until buff[something] is '\0', indicating the end of the string.

You are reading each line into the same char array, buff, so buff[0] is always the first character of each line after the fgets.