If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
3 posts • Page 1 of 1
I have a use-case where my app will spit out a large number of temp-files, and I want to create a new dir for these files each time, under the standard system temp dir. Is there any directory equivalent to wxFileName::CreateTempFileName, and if not what would be the simplest/recommended way? I don't want to name the directory myself, I prefer to have it named for me so I can avoid finding a unique name.
That's what I do right now (or similar using timestamp) in the absence of a helper method. I also wondered about creating a temp file with automatic name and then replacing it with a directory of the same name, but it seems a bit hacky