Either do something to consume the newline, or (my preferred solution) fgets() and then sscanf() from that string. scanf leaves whitespace in the input ...
確定! 回上一頁