I\'m trying to create a temporary text file in C++ and then delete it at the end of the program. I haven\'t had much luck with Google.
Could you tell me which funct
On Linux (starting with kernel 3.11), there's flag to open(2) O_TMPFILE that creates a temporary file that doesn't have a name (i.e. it doesn't show up in the filesystem). This has a few interesting features: