Yes if you want to write to a file you should use a open mode that allows writing, a, a+, r+, w, w+.
Jim
Type: Posts; User: jimblumberg
Yes if you want to write to a file you should use a open mode that allows writing, a, a+, r+, w, w+.
Jim
It should be in the file, not on the console.
Jim
Remember that C processes a file from top down. Any function or variable must be defined before it can be used. Does your program do this. Where is your function defined, before or after your...