If you know in advance how big of a string you are willing to accept, you can put the limit into your scanf argument itself. Try this small program:
確定! 回上一頁