小男孩‘自慰网亚洲一区二区,亚洲一级在线播放毛片,亚洲中文字幕av每天更新,黄aⅴ永久免费无码,91成人午夜在线精品,色网站免费在线观看,亚洲欧洲wwwww在线观看

分享

將輸出結果存到指定文件夾下的TXT文件中

 昵稱14216904 2016-07-12
#include<iostream>
#include<fstream>
using namespace std;
int main()
{
    ofstream outfile;
    char  *file_img = "122890";
    char outRect[100];
    sprintf(outRect, "%s\\outRect1.txt",file_img);
    //ofstream outRect1(outRect1);//寫入識別結果到txt文件  得先創(chuàng)建或者已有122890文件夾

    cout<<outRect<<endl;
    //outfile.open("outRect1.txt")
    outfile.open(outRect);
    float b = 0.5;
    outfile<<b<<endl;
    outfile.close();
    
}

    本站是提供個人知識管理的網絡存儲空間,所有內容均由用戶發(fā)布,不代表本站觀點。請注意甄別內容中的聯(lián)系方式、誘導購買等信息,謹防詐騙。如發(fā)現(xiàn)有害或侵權內容,請點擊一鍵舉報。
    轉藏 分享 獻花(0

    0條評論

    發(fā)表

    請遵守用戶 評論公約

    類似文章 更多