I have written code that accepts input from one file named pa1.dat. It checks whether the input is accepted by a certain finite automaton. If it is, then it is supposed to output the results in another file named pa1.out. The problem is that after compling successfully without any errors, the pa1.out file doesn't contain anything. Would you please tell me the correct syntax on how to get the data from one file and direct output to another file?