All code for the labs MUST follow the Style Guide for CS120. The tablen program must be run on your files, as well.
Normally, output (e.g. printf) sends its output to the screen. To send it to a file instead, use the greater-than (>) symbol:
Any output from myprogram will go to a file named out.txt and you will see nothing on the screen.myprogram > out.txt
Normally, input (e.g. scanf) is read from the keyboard. To have the program read input from a file instead, use the less-than (<) symbol:
All input to myprogram is read from in.txt, and the keyboard is ignored. Also, none of the characters that are in the file will show on the screen.myprogram < in.txt