Click here to Skip to main content
15,893,904 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello,

I'd like to know how to create a file depending on current day of the month and I need to append the data from mouse into that file.

I created a file like this `date +%d-%m-%Y`.txt
I am able to create the file successfully.

I am able to get the data from mouse using libusb API.

Please help me as to how to append the data from mouse into file (20-10-2020.txt).

Is it possible to append data into the file if we create a file like this?

Please give me some suggestions regarding this.

thank you.
Posted
Updated 22-Dec-10 0:39am
v2
Comments
Dalek Dave 22-Dec-10 6:39am    
Edited for Grammar, Spelling and Readability.

1 solution

Open the file for writing, seek to the end and write your new data.
 
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