Quantcast
Channel: CodeGuru Forums - Visual C++ Programming
Viewing all articles
Browse latest Browse all 3046

A replacement for std::tmpnam() ?

$
0
0
IIUC std::tmpnam() creates a filename that's guaranteed to be unique - but without creating an actual file (i.e. it returns a name that you could use if you wanted to...)

But (again IIUC) it only ever creates names that would be unique in your system's TEMP folder :(

Does anyone know of a function which can do the same thing but for some other folder (e.g. a folder that you pass to it?)

Viewing all articles
Browse latest Browse all 3046

Trending Articles