读取以空格分割的字符串
while (scanf("%s", vocabulary[i]) != EOF) {
j = 0;
while (vocabulary[i][j]) { // 大写转小写
vocabulary[i][j] = up_to_low(vocabulary[i][j]);
j++;
}
i++;
} // 并且大写转成小写
C++读取方法
string s[200];
int i = 0; int n = 0,count=0;
cin >> n;
while (cin >> s[count]) {
count++;
}