User Profile
Collapse
-
Method to continuously read and display data in a file as it is updated
My c# program is continuously updating a file and my c program is reading it.But my c program picks up the data from the file to the point when it is started. While the c# program is modifying the file even when the c program reads the file. So i need a method where the c program simultaneously reads and displays the data in the file as it is updated by the c# program. Please help. -
How to append data to file and clear it when it's closed
I have values changing at some rate per second that i am storing in a variable then i am printing these values in a file. So i have to append the values into the file so that they are not over written and all the values are displayed line by line. But when i close the program i need the file to be cleared. But only when i close the program and not when the function exits that it clears the file.
No activity results to display
Show More