Posted by William D McQuain on November 08, 2001 at 16:32:18:
In Reply to: Input File Stream(s) posted by Q on November 08, 2001 at 13:33:57:
: I feel dumb for asking, but if we are to be using two input files in this program, how are we to declare them inside main()? Thanks for any help!
Two input files... two input stream variables...
However, I think that in a good design you wouldn't be declaring both in main(). You should have one function that reads the entire initial data file and stores data into the parallel arrays. There's no reason that function shouldn't declare its file stream locally.
Post a Followup