How do you guys typically delete files on Linux OS? I am thinking of using the unlink function call, but I wonder if you have a better idea, as the C++ standard has
unlink
The Standard includes a function called remove which does that. Though i would prefer boost.filesystem for that (if i already use boost anyway).
boost.filesystem
#include int main() { std::remove("/home/js/file.txt"); }