int转string-c++/c

int face_index = 1;

std::stringstream out;
out << face_index;
string save_pth = img_path.substr(0, img_path.find_last_of('.')) + "_face_index_"+ out.str()+".jpg";

  

posted @ 2020-10-28 14:34  皮卡皮卡妞  阅读(109)  评论(0编辑  收藏  举报