討論串[問題] 二維陣列如何存入.txt檔
共 2 篇文章
首頁
上一頁
1
下一頁
尾頁
內容預覽:
string pos_table[120][5];. for(i=0;i<120;i++){. for(int j=0;j<5;j++){. fprintf(fptr, "%d,",pos_table[i][j].c_str());. }. }. → arno855268:int pos_table
(還有33個字)
內容預覽:
請問要如何把二維陣列存入.txt檔內. 開發平台:Microsoft Visual C++ 6.0. 以下是我寫的程式片段:. //印出陣列(結果正確). for(int i=0;i<121;i++){. for(int j=0;j<5;j++){. printf("%d,",pos_table[i
(還有606個字)
首頁
上一頁
1
下一頁
尾頁