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.
ターミナルからファイルを取得する必要があります。コマンドは次のようになります。
./a.out < fileName.txt
プログラムで fgets() を使用して、端末から要求されたファイルを使用する方法がわかりません。