Hi,
How can i create a temporary folder in tmp folder using C++ language.
Edited: This is my code but is showing an error. Actually, i have 3 volumes. Leopard, Development and 10.6 (in Mac OS X) and i want to create a temp directory in current home directory. Here is my code,
// i am confused about this line char* tempdir = "/Volumes/Development/NewFolder.XXXXXX";
if (!mkdtemp(tempdir))
fprintf(stderr, "Not able to create directory");