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.
FILE *test; student st; int i = 0; test = fopen("example.bin", "rb"); while (feof(test)) { fread(&st, sizeof(st),1,test); Class[i] = st; i++; } fclose(test);
だから私の質問は、それを読んで、データを私の構造に入れ、ループを止める方法ですか?