C语言-常用函数处理 1.使用fgets #define SLEN 50 char str[SLEN]; fgets(str, SLEN, stdin); i = 0; while (str[i] != ' ' && str[i] != '