Home > Back-end >  How to store photos in the presence of variable path?
How to store photos in the presence of variable path?

Time:09-27

, ladies and gentlemen, I have a question want to ask you, how under the Linux system with c/c + + implementation will be timed photos stored in the folder named after the date, for example: take a photo every 3 minutes, save it to the "2020-04-08" this folder, the folder varies with the date, and other functions have been implemented, there is not saved to the variable path, thank you

CodePudding user response:

Use sprintf to generate content for the date string is not the name of the line? Still say you don't know how to generate the string form of the current date?

CodePudding user response:

reference 1/f, fox emperor response:
use sprintf to generate content for the date string is not the name of the line? Still say you don't know how to generate the string form of the current date?

Thank you bosses, the problem has been resolved
  • Related