You should either use scanf only, or fgets only, in the latter case, if you need to convert strings to int s use sscanf or better yet strtol ...
確定! 回上一頁