At the moment, the analyze_trades
program uses test.data
and
test.result
as wired-in file names. In the hardcopy version of this book, you
learn how to supply file names at run time.
For now, it is enough to know how to open files for reading and writing and how to close such files when you are finished with them. As you might expect, however, there is a great deal more that you can learn about file input and file output.