이상한 현상?
다빈
2023.04.01
#include stdio.h
#include Frame.h
#include stdlib.hchar menu(void);
char suchregi(void){
FILE *such;
char recive[100];
such=fopen(callNum.txt,r);
if((such=fopen(callNum.txt,r+))==NULL){
exit(1);
}
while(!feof(such)){
fgets(recive,100,such);
printf(%s,recive);
}
fclose(such);
return 0;
}이 함수는 메모장에서 텍스트 파일의 내용을 읽는 프로그램이에요근데 이상하게도 없는행을전 행을 중복해서 쓰네요이렇게 말이죠;