Try: while (scanf ("%15s", words) != EOF) You need to compare scanf output with EOF. If n is negative or omitted, read until EOF.stdin.1 Answer.stdin. HTTP ...
確定! 回上一頁