Click here to Skip to main content
15,890,438 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
you should describe me because I have tried many ways I cant find the solution and the directory created should be in Create Directory function.

What I have tried:

No, I have tried many ways and I cant find the solution
I want to make a directory with date as folder name with create Directory function
Posted
Updated 10-Jul-18 19:43pm

1 solution

It's going to depend on your compiler system, but it should be the mkdir function[^] you need.

To specify a date as the directory name name, you need the strftime function[^], probably with a format string like
C++
"%Y-%m-%d"
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900