Did you start the timer?
yes i did. Also if i put a printf statement before fprintf i can see the output.
I see no fclose or fflush, so the file will be empty as the data will just be buffered until then.
But I also agree with wysota - if your using Qt, you really should be using Qt classes (or at least C++) rather than standard C.
Bookmarks