码迷,mamicode.com
首页 > 编程语言 > 详细

c++保存数据到TXT

时间:2017-11-09 17:15:35      阅读:265      评论:0      收藏:0      [点我收藏+]

标签:users   tensor   not   保存数据   print   taf   sprint   ++   end   

 sprintf(filename, "/Users/anitafang/Documents/Datasets/test-tensorflow/002/annot3/%d.pts", cunt);

//        ofstream   ofresult( filename,ios::app);

//        ofresult<<"version: 1"<<endl;

//        ofresult<<"n_points: 68"<<endl;

//        ofresult<<"{"<<endl;

//        for (int idx = 0; idx < 68; idx++) {

//            

//            ofresult<<0<<" "<<0<<endl;

//        }

//        ofresult<<"}"<<endl;

//        

//        cunt++;

       //

c++保存数据到TXT

标签:users   tensor   not   保存数据   print   taf   sprint   ++   end   

原文地址:http://www.cnblogs.com/Anita9002/p/7810068.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!