#include <fstream>
ofstream Outfile;
Outfile.open("STAR.csv" ,ios::out | ios::trunc);   // 開啟為輸出狀態,若檔案已存在則清除檔案內容,重新寫入
Outfile<<i<<","<<endl;
Outfile.close();
 
文章標籤
全站熱搜
創作者介紹
創作者 Y CP 的頭像
Y CP

Y CP的部落格

Y CP 發表在 痞客邦 留言(0) 人氣(19)