c++ 创建文件路径

int FileZone::write(int zone,const std::string& coilid,ZONE_ROWS* zone_rows)         
{ 
	ostringstream ostr1;   //int 转string
    stringstream ss;
    ss << zone;
    string s1 = ss.str();
	string name=s1;
	SYSTEMTIME st = {0};
    GetLocalTime(&st);          //创建时间层级文件夹
	ostr1<<"d:"<<"\\\\"<

 

你可能感兴趣的:(c++ 创建文件路径)