Or more simply, just use + since they are all strings.Code:string d = "robocopy //MOVE //MINLAD:" + c + " " + a + " " + b; system(d.c_str());
Or more simply, just use + since they are all strings.Code:string d = "robocopy //MOVE //MINLAD:" + c + " " + a + " " + b; system(d.c_str());