Hi, I'm a newbie to programming in general.
I want create two functions to read and write dat from one file to another file.
Function read will read dat from file to buffer, and funtion write these data from buffer to another file. These functions work parallel, it means: Function read will periodic read dat from file to buffer. Function write will write dat periodic from buffer to another file until there are new dat in buffer.
But I dont know about it. Help me,pls.
Thanks!
quangvn
0
Newbie Poster
Recommended Answers
Jump to Post>>Function read will periodic read dat from file to buffer
By periodic, do you mean once an minute, hour, day, week, month, or what?I think you might want to have your program create two threads -- one thread for reading and the other thread for writing. Then the …
All 3 Replies
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
quangvn
0
Newbie Poster
Shankye
36
Junior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.