例如:有字串"1234" 作用:將字串內的數位字元轉成整型,存至整型陣列 int arr[4]; char str[] = "1234"; for (int i = 0; i < 4; i++) x[i] = str[i] ...
確定! 回上一頁