一个 %s 是以空白符结束的, 而空格, 制表符, 回车都是空白符所以应该用 fgets(char *buf, int cBuf, FILE *input) 来获取一整行.
所有的scanf的%s前加一个空格或者\n