开发者

Create text file with the name as System date

开发者 https://www.devze.com 2023-01-31 22:50 出处:网络
HI I want to create a text file with the name as SYSTEM DATE... for example---28/04/2008:9:11:50.txt The File 开发者_StackOverflowname should be allocated on dynamically.....

HI I want to create a text file with the name as SYSTEM DATE... for example---28/04/2008:9:11:50.txt The File 开发者_StackOverflowname should be allocated on dynamically.....

can u provide the c code for this..

Plese Help me...


Use strftime to calcule the name of the file:

http://www.thinkage.ca/english/gcos/expl/c/lib/strfti.html

0

精彩评论

暂无评论...
验证码 换一张
取 消