赞
踩
char achFileName[256];
sprintf(achFileName, "../save/shishi/f_%d%c", i + 1, 0);
ofstream outfile(achFileName);
for(int i = 0; i <XXXXXX; i++) {
double x[] = {0, 0, 0};
........
outfile << x[0] << " " << x[1] << " " << x[2] << endl;
}
outfile << endl;
outfile .close();
大概流程就是这样的
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。