I am new to C programming. I just started reading through the K&R section on character input and output, but I am left wondering how a person would go about writing text to a file.
I'm not looking to do anything elaborate with it just yet ... I would like to write output from the code from the exercises that I do to a file so that I can better view the results (the Windows display disappears almost instantly).
Any suggestions?