>>429
ありがとうございます。早速チャレンジしてみます

while(1){
int c = fgetc(fp);
if(c == EOF){ break; }
else if(c == '\n'){ (*size)++; }
else{ num[*size] = num[*size]*10 + c-'0'; }
}

ところでこの文章int型のついてる * はなんの意味を示してるのですか?