File creation & Deletion | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

File creation & Deletion

In C, open a file with current day and delete existing file with 7 days and create new one Eg. If today is Monday. 1. File name should be monday.txt, 2. Existing file name with Monday data's should delete

9th Dec 2018, 6:32 PM
ɯɐʎɥs ɹɐpuns
2 Answers
+ 1
Sebastian Keßler am still in process of writing my own code for this. I was looking for suggestions, as am struck at file deletion part. As you mentioned, will be posting code when really help needed.
10th Dec 2018, 2:24 AM
ɯɐʎɥs ɹɐpuns
0
The Question is: did you tried to find an own Solution for this Problem? It is always better to write a Code by yourself. If it won't work you can post it here and the Community will help you to fix it. But you should not wait that anyone here does the Job for you.
9th Dec 2018, 8:16 PM
Sebastian Keßler
Sebastian Keßler - avatar