File
Links
Temporary
#include "Poco/TemporaryFile.h"
std::string fileName;
fileName = Poco::TemporaryFile().tempName();
Note:
I think (not sure about this) that every time we call
tempNamewe create a new temporary file.To stop
TemporaryFilefrom deleting the file:temporaryFile.keep();