gets(str) 函式與scanf("%s", str) 函式在運作時不一樣的地方是scanf("%s", str) 一遇見空格字元就以為字串結束了, gets(str) 函式則不管怎樣都會讀到'\n ...
確定! 回上一頁