Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
標準入力から単語ごとに読み取りたいと思います (つまり、入力文字列は常に空白で区切られた単語の集まりです)。今、私はread関数を使用していて、入力文字を文字ごとに読み取ります。
read
出来ますか?ありがとう!
readln(readline)を使用すると、個別の単語に分割できる行全体を読み取ることができます。ファイルから単語を読み取る機能はありません。