Go4Expert (http://www.go4expert.com/)
-   C (http://www.go4expert.com/forums/c/)
-   -   C Puzzle (http://www.go4expert.com/forums/c-puzzle-t4641/)

rjoshi82 12Jun2007 16:46

C Puzzle
Hi All,

Can any body tell me how can I create a file in C with naming convention as
where YY -> Year
MM-> Month
DD-> Day
A quick response will be highly appreciable :)

DaWei 12Jun2007 18:08

Re: C Puzzle
Get the components via mktime, tack them together, and there you go.

shabbir 12Jun2007 20:50

Re: C Puzzle
How does this seem to you as a puzzle of C. Are you trying to create some puzzle and store the data of that puzzle or what?

All times are GMT +5.5. The time now is 07:25.