當要輸入儲存多個字串時,可以使用陣列指標常數array[i]作為cin.getline(array[i],n)與gets( array[i] )的參數,以輸入儲存多個字串. 1.使用cin.get.
確定! 回上一頁