You can use a two-dimensional array instead: C++. char stringArray[20][5]; int i; for (i=0;i<20;i++) { scanf("%4s", stringArray[i]); }
確定! 回上一頁