writing contents of array to file
fprintf(string, "%f", array[0]);
That statement above writes to a data file but stops after about a hundreds line are written. The data that is stored in array[0] is created as the file is being written (dynamically??)
How do I code so that I can continously write to a file as the data is being created?
Thanks,
Donald
Re: writing contents of array to file
Quote:
Originally posted by Unregistered
How do I code so that I can continously write to a file as the data is being created?
Where is the input coming from? You need to control the input loop somehow. Bit difficult to advise without seeing more code really.