Jensen Somers wrote:
> I only have experience using this function in C, where I had to move to
> tempnam() because tmpnam() was causing portability issues towards
> Windows Vista (LUA related stuff). Although, nowadays I noticed GCC
> returns a warning message saying that the use of mkstemp() is advised.
Thank you - tempnam() suits my purpose much better. If mkstemp() is
advised, that is understandable in general (according to documentation),
but is there any way to use ofstream with the integer file descriptor
returned by mkstemp? Doesn't seem like it to me :/
So I guess I'll work with tempnam() for now
Best Regards,
Lars