int remove(const char* kcpFilePath);
#include <cstdio>
int main()
{
// Delete the local file
int iRet = remove("XoaX.txt");
// Check whether or not some characters were written
if (iRet == -1) {
perror("Failed to remove file XoaX.txt");
} else {
printf("The file XoaX.txt was deleted.\n");
}
return 0;
}
© 20072025 XoaX.net LLC. All rights reserved.