while (fgets(buffer, 1000 ,fIn) != ... Just sscanf() the first word (and you need to use %s for a string, not %d) and use the %n format ...
確定! 回上一頁