私は自分のプロジェクトを開始するのに多くの問題を抱えています。道順は次のとおりです。
"Complete counts.c as follows:
Read characters from standard input until EOF (the end-of-file mark) is read. Do not prompt the user to enter text - just read data as soon as the program starts.
Keep a running count of each different character encountered in the input, and keep count of the total number of characters input (excluding EOF)."
教授から教えてもらった書式は次のとおりです。
#include <stdio.h>
int main(int argc, char *argv[]) {
return 0;
}
問題の開始方法に加えて、メイン関数に何も渡されないのに、なぜ 2 つのパラメーターが与えられるのかについても混乱しています。助けていただければ幸いです。ありがとうございました!
`