C語言輸入帶空格的字串. ... scanf("%s",str); 遇到空格就停止接收后面的字符, ... 用gets() 可以讀取空格, 直到回車才會結束輸入. char str[80];
確定! 回上一頁