[ad_1]
Simple
remove(b1.c_str());
call c_str() to get a pointer to a C string from a C++ string.
1
[ad_2]
solved making function accept the path that’s inside the string variable
[ad_1]
Simple
remove(b1.c_str());
call c_str() to get a pointer to a C string from a C++ string.
1
[ad_2]
solved making function accept the path that’s inside the string variable