Re: Simple I/O Problem
- Posted by SDPringle May 16, 2016
- 1309 views
You ought to use puts rather than printf. If you want to print formatted input then it is
printf(file_handle, format, arguments)
So, if you are printing a simple string then you should use puts.
puts(file_handle, string)
S D Pringle