C++ mkdir with date+time name

I need code in C++ for create directory ( folder) with momently date+time name , something like 28122014205825 ( ddmmyyyHHMMSS format ) it will be part of some school project and we need to create folder with name of moment when is created that can be stored
Last edited on
Whoa man, C+++?
JK
you can use system(arguments) to run console commands in windows using the windows.h header file.
Creating the directory is straightforward, it's setting the timestamp is the tricky part.
http://www.cplusplus.com/forum/unices/99370/
Topic archived. No new replies allowed.